edited todos

This commit is contained in:
Sam Germain
2022-02-12 16:10:21 -06:00
parent ee5f05208e
commit fc2d3649a1
8 changed files with 12 additions and 13 deletions

View File

@@ -85,7 +85,7 @@ def start_download_data(args: Dict[str, Any]) -> None:
new_pairs_days=config['new_pairs_days'],
erase=bool(config.get('erase')), data_format=config['dataformat_ohlcv'],
trading_mode=config.get('trading_mode', 'spot'),
)
)
except KeyboardInterrupt:
sys.exit("SIGINT received, aborting ...")
@@ -160,7 +160,6 @@ def start_list_data(args: Dict[str, Any]) -> None:
from freqtrade.data.history.idatahandler import get_datahandler
dhc = get_datahandler(config['datadir'], config['dataformat_ohlcv'])
# TODO-lev: trading-mode should be parsed at config level, and available as Enum in the config.
paircombs = dhc.ohlcv_get_available_data(config['datadir'], config.get('trading_mode', 'spot'))
if args['pairs']: