Forums

Dynamic prices/data (ajax) lsot after reload of webpage

Hi, i have a Flask web app that shows crypto prices. The prices are dynamically changed every 65 seconds. I'm using Jquery/ajax for changing the prices. But every time I reload the page the prices are changing to their initial state.

Is there a way to save the dynamically changed prices so if I reload the prices don't change to their initial state? Prices are fetched from an API via Flask.

oblodev.pythonanywhere.com

USD prices changing every 75 seconds

What do you mean by the initial state? Does it have a different source than API call you use for fetching "dynamically changed" prices? Is it hardcoded?