I would recommend you to separate your data from wp-data. To realize your idea, setup a new data table for time series data. Write a php script to request your data from desired source and create a cronjob. If your hoster does not provide cronjob creation, use a cronjob service. Depending on the amount of data you request, you probably have to create approx. 10 cronjobs.
Then, create a new table for YTD performance values and create a new php script to calculate YTD performance. This should work very quickly, so you will probably need only one cronjob (I suppose, maximum 4 cronjobs).
Now you will have the time series data and the performance data in two separate tables. To show YTD data in your WordPress, create a shortcode
in your functions.php
like I did here.
Related Posts:
- WP REST API only returning partial list of users
- WordPress JSON output
- Sending POST Request from server
- get WP-API by page id
- utf8 encoding in json rest api
- Implementing the wp json-rest api
- Displaying Content with WP Rest API
- How to Increase WordPress JSON API Speed?
- Most performant way of fetching remote API data?
- How can I cache WordPress Rest API Response
- Why aren’t tags and categories added in post request to WP Rest API
- body_class REST field in WP-API
- Submit comment via JSON from Android device
- How to convert and use JSON data from a remote WordPress server?
- JSON API and notification about registration
- Jetpack JSON API configure button not showing [closed]
- WordPress Theme/Plugin Information API Response to Text and Button
- Implementing URL JSON API Data into Website
- Intergrate JSON into wordpress
- How do I filter Child Posts by Parent Post ID for Custom Post types in WordPress REST API response?
- Rest WP_Error always return null
- Why does “if statement” has to “die()”, otherwise wont work?
- Best way to make a JSON API from WordPress?
- Querying Posts Using JSON API
- How get JSON from external API on every page load if not existing in transient?
- Send PUT remote request with BuddyPress checkbox
- Yahoo! Finance CSV file will not return Dow Jones (^DJI)
- Is there a developers api for craigslist.org
- Access WordPress API Outside of WordPress (command-line PHP)
- What is the best way to get directory path for wp-config.php?
- Retrieving pages with multiple tags using REST API
- Trying to get custom post meta through Jetpack JSON API [closed]
- How do I use the WP REST API plugin and the OAuth Server plugin to allow for registration and login?
- Should I store external API data in my WP database or keep it as a transient?
- List Table API – Safe to use?
- Custom route for WP-API gives “rest_no_route” value
- How to get all posts (in chunks) via XML-RPC?
- Get more than 10 posts in a specific category with the wordpress api
- “rest_no_route” – Debug error
- How to Securely and remotely Create new user in wordpress using Rest API
- What is the official way to consume the WordPress API? (api.wordpress.org)
- How to get title tag of an external page with http api?
- How to Hit External REST POST API in WordPress? [closed]
- How do I perform a “get” call to an external API, and then display the JSON results on a page in my WordPress site?
- WordPress JSON API Extend to Create Users [closed]
- External API to WP
- Can’t get POST data in API endpoint callback
- node-wpapi: how to handle authentication?
- Post body not working with wp_remote_post()
- Possible to use wordpress as publishing platform but programmatically inject content?
- Adding rest api endpoints to an old theme
- Develop REST API using WordPress for Android app [closed]
- wp_remote_get adding backslashes
- CMB2 Repeatable Group & JSON API
- are there any initiatives to work wordpress as microservices?
- WordPress REST API not returning all posts
- Sanitize Disqus API results?
- Best Practice for re-using API Data in WordPress?
- For using google api is it necessary to install the google client libraries for using Oauth 2 in wordpress installation?
- Get non-rendered content from WP-API
- Cannot parse results from wp_remote_get
- Calling an API to do authentication / user login
- Add basic authentication of WordPress on any external PHP file?
- Enabling CORS with WordPress
- Authenticating a user with the WP-API V2 in Postman
- WP OAuth Server “The grant type was not specified in the request”
- How to send messages when a customer is registered
- Is there a way I can fetch the WordPress Developer Code References with an API?
- How to get the post_id after you successfully create new post using xmlrpc api wp newPost?
- Where to put API Code?
- Implement External API into WordPress [closed]
- hybridauth (google OAuth integration) and WP problems
- term_exists returns NULL
- Consuming an external API to publish/post to wordpress
- WP REST API remove the WordPress shortcodes from the JSON wp/v2/posts content->rendered
- WordPress API causing fatal error
- Composer Installed Package with WordPress Rest API Endpoint
- Is there a way to get Google My Business photos on WordPress with the API or other?
- Call external API
- Loop through WordPress API response errors
- How to save one API response to WooCommerce order meta data
- pulling in external JSON search results into WordPress
- Populating Custom Fields from live JSON
- Autotrader API Integration
- Passing data outside of WordPress possible?
- Periodically Query an external API on wordpress site
- Post to WordPress API using cURL and login cookies
- Extending the API I created to return category names
- Using the JSON API via HTTPS and HTTP
- add pagination to wp_remote_get
- Posting data from Ionic app to WordPress
- WordPress REST API Endpoint (Authors and Categories latest posts)
- Instructure Canvas API with WordPress [closed]
- REST API And Error Codes – No Message
- Developing a plugin, ran it through P3 Profiler, shows up slow, but I don’t know why
- Get full page HTML for a non-public WordPress page
- Send Order Confirmation automatically to customer’s mobile number
- get_body_params() is always empty in POST request
- XMLRPC: How to retrieve possible custom fields for a new post?
- Forminator + Hubspot Workflows