mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
feat: add "trades" switch to list-data command
This commit is contained in:
parent
5a9f87ac63
commit
d02ea3244a
|
@ -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",
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user