In order to reduce the amount of API calls, make sure the cache is stored locally by each user with a longer persistence than actual cache persistence.
Only make API calls when :
Data is not loaded in cache
Cache is outdated
Before showing a trade to ensure right prices are shown if data age is over another low limit (below 1 day)
In order to reduce the amount of API calls, make sure the cache is stored locally by each user with a longer persistence than actual cache persistence. Only make API calls when :