Build AJAX API data puller for wordpress webpage that refreshes every 1 second & optimise webpage speed

Job ID: 31087357

Budget: $250 – $750 AUD

We currently have a tracker (API data puller) that was built by another freelancer but it only refreshes every 5 seconds. I would like the following changes. You can use the existing code or start from new code.

The API returns a value and the time and date of that value.

- The data needs to refresh every 1 second instead of 5 seconds
- The data should only refresh Monday to Friday from 10AM AEST to 4:15PM AEST

Also I noticed when I put the code on any webpage it makes the page load in like 7-10 seconds wheras other pages load in 2-3. I want the code or the webpages where the code is placed to be optimised to load faster so that it takes less than 5 seconds to load the webpage.
Related categories: PHP JavaScript AJAX WordPress HTML