mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
chore: use Class for parse_timerange
This commit is contained in:
parent
661d36614f
commit
5b4043db85
|
@ -583,7 +583,7 @@ def download_data_main(config: Config) -> None:
|
||||||
timerange = TimeRange.parse_timerange(f"{time_since}-")
|
timerange = TimeRange.parse_timerange(f"{time_since}-")
|
||||||
|
|
||||||
if "timerange" in config:
|
if "timerange" in config:
|
||||||
timerange = timerange.parse_timerange(config["timerange"])
|
timerange = TimeRange.parse_timerange(config["timerange"])
|
||||||
|
|
||||||
# Remove stake-currency to skip checks which are not relevant for datadownload
|
# Remove stake-currency to skip checks which are not relevant for datadownload
|
||||||
config["stake_currency"] = ""
|
config["stake_currency"] = ""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user