Closed jingedawang closed 1 year ago
I guess it's because the TinyDB cache. Simply disable the cache for a while. When users become more and more, this shouldn't be a problem anymore.
It's strange that looks like disabling cache didn't work. But not sure. Need to confirm next week.
According to the official document: https://tinydb.readthedocs.io/en/latest/usage.html#query-caching Disabling cache should work.
Yes, it didn't work. Don't know why.
After debugging into TinyDB, it shows that TinyDB is working correctly. Looks like it's due to the qlib data cache. So I added a refresh mechanism to solve this problem. Let's see whether it works in next trading day.
Great! This PR perfectly sovled this problem. It's indeed due to qlib data cache.
It should be. But recently the update didn't show up until I re-start the app. It's a little weird.