gaborvecsei / Stocks-Pattern-Analyzer

This tool should help discover different patterns based on similarity measures in historical (financial) data
Other
225 stars 81 forks source link

[Question] How do you refresh data_holder online #8

Closed QiXuanWang closed 3 years ago

QiXuanWang commented 3 years ago

I'm now able to run this app and it works alright. One question is that when I download data everyday into local disk, how can I let rest_api to automatically refresh data? Is there a plan to do so if not implemented yet?

BTW, why react? anything wrong with dash app?

gaborvecsei commented 3 years ago

I am not planning to include this, but it is super easy to include. You just need and endpoint which adds a symbol to the SYMBOL_LIST and then calls the refresh endpoint.

BTW, why react? anything wrong with dash app?

Harder to maintain and not a good fit for production (in my opinion). It is solving the problem with the wrong tool. But great for simple and quick dashboards like what I did.