[Feature request] Add a configuration to disable database download every day (or change source)
Hi,
I have a problem using lean-cli, for the needs of my algo I need to add some changes in the following files (in order to add a new Forex market for which I have the dataset):
-
data/market-hours/market-hours-database.json -
data/symbol-properties/symbol-properties-database.csv
The problem is: when I run the lean command for the first time of the day, theses files are re-downloaded from this repo and my change are erased and the field file-database-last-update in lean.json is set on the current date. So I need to apply my change again and again: this is really painful.
I'm sure I'm not the only one facing this issue, so I propose to add an option in the lean.json file to either disable this behavior and/or define a custom source from which the data is downloaded.
Why do you think about this proposal ?
Note:
For those facing this issue, you can disable auto-update by setting the field file-database-last-update in lean.json to a future date like 01/01/2099.
Hey @LaGregance! Sorry for the inconvenience
For those facing this issue, you can disable auto-update by setting the field file-database-last-update in lean.json to a future date like 01/01/2099
Yes, this is the current approach to disable the automatic update logic
setting the field file-database-last-update in lean.json
We can explore making this a lean cli config to improve user experience & also respecting --no-update flag