UPDATED: I'm testing new code so if you access my code or site now it won't show I'm mentioning below. Hopefully will get it work.
Hello,
I know this question been asked many times and I've done research and tried to get it working but still not able to.
I've the Always On Task "Running" the .py and have an html table to display variables on webpage. When I refresh the page using refresh on web browser, it shows the new content.
How can I, if it's possible, see updated content without hitting the refresh button?
I've tried scheduler, app.config["TEMPLATES-AUTO-RELOAD"] and a few other methods from Google and PA forums but none work.
I see PA team always asked before look into the code please feel free to do so.
Here's my page alanluong66.pythonanywhere.com . I've created a random number function for Pre-Close since you might access it when the stock market not opened. When you refresh the page, you will see a random number. How can I get it updated every x seconds without refreshing the page?
All help would be greatly appreciated