β‘οΈ Rework warnings in `mgm-hurry`
Rikj000 opened this issue Β· comments
Rikj000 commented
Some of the warnings thrown in mgm-hurry
are unneeded to be thrown.
- π³ When installing Freqtrade initially & no installation is present yet:
-
WARNING - Could not find .hurry config file at /mnt/Windows/Users/Rik/Desktop/Rikj-Home/Projects/temp/freqtrade-mgm/.hurry INFO - πΊ Configuration data written to ".hurry" file WARNING - FreqtradeCli - installation_exists() failed. Freqtrade binary not found in /mnt/Windows/Users/Rik/Desktop/Rikj-Home/Projects/temp/freqtrade-mgm/.env/bin/freqtrade. WARNING - π€· No Freqtrade installation found. Please run "mgm-hurry install_freqtrade" before attempting to go further! INFO - π¨ π¨ π¨ π The all in one command. Hurry up, turn it up! π¨ π¨ π¨ ? π¨ Do you want to install Freqtrade? (y/N)
-
- βοΈ
File not always present, should only be thrown once (in-code comment points where in the code):WARNING - π€· No "{installdir}/user_data/mgm-config-hyperopt.json" file found in the "user_data" directory. Please run: mgm-hurry setup
in-code:mgm-hurry
-sys.exit(1) # Warning should already be thrown when loading the config files
Rikj000 commented
π³ Rewrite following warning:
WARNING - No history data for pair: "XXX/XXX", timeframe XX. Use `freqtrade download-data` to download the data
To:
WARNING - No history data for pair: "XXX/XXX", timeframe XX. Use `mgm-hurry download_candle_data` to download the data