diff --git a/freqtrade/commands/arguments.py b/freqtrade/commands/arguments.py index c76ee3fc6..56e24f79f 100755 --- a/freqtrade/commands/arguments.py +++ b/freqtrade/commands/arguments.py @@ -132,7 +132,15 @@ ARGS_CONVERT_TRADES = [ "trading_mode", ] -ARGS_LIST_DATA = ["exchange", "dataformat_ohlcv", "pairs", "trading_mode", "show_timerange"] +ARGS_LIST_DATA = [ + "exchange", + "dataformat_ohlcv", + "dataformat_trades", + "trades", + "pairs", + "trading_mode", + "show_timerange", +] ARGS_DOWNLOAD_DATA = [ "pairs", diff --git a/freqtrade/commands/cli_options.py b/freqtrade/commands/cli_options.py index b9236a0ab..54e139443 100755 --- a/freqtrade/commands/cli_options.py +++ b/freqtrade/commands/cli_options.py @@ -446,8 +446,12 @@ AVAILABLE_CLI_OPTIONS = { ), "download_trades": Arg( "--dl-trades", - help="Download trades instead of OHLCV data. The bot will resample trades to the " - "desired timeframe as specified as --timeframes/-t.", + help="Download trades instead of OHLCV data.", + action="store_true", + ), + "trades": Arg( + "--trades", + help="Work on trades data instead of OHLCV data.", action="store_true", ), "convert_trades": Arg( diff --git a/freqtrade/commands/data_commands.py b/freqtrade/commands/data_commands.py index ba5f3563a..ac150efa6 100644 --- a/freqtrade/commands/data_commands.py +++ b/freqtrade/commands/data_commands.py @@ -118,7 +118,7 @@ def start_list_data(args: Dict[str, Any]) -> None: List available OHLCV data """ - if args["download_trades"]: + if args["trades"]: start_list_trades_data(args) return