mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
add --convert-trades argument to download-data
This commit is contained in:
parent
9b031490cc
commit
e6d5aa1349
|
@ -142,6 +142,7 @@ ARGS_DOWNLOAD_DATA = [
|
|||
"include_inactive",
|
||||
"timerange",
|
||||
"download_trades",
|
||||
"convert_trades",
|
||||
"exchange",
|
||||
"timeframes",
|
||||
"erase",
|
||||
|
|
|
@ -450,6 +450,13 @@ AVAILABLE_CLI_OPTIONS = {
|
|||
"desired timeframe as specified as --timeframes/-t.",
|
||||
action="store_true",
|
||||
),
|
||||
"convert_trades": Arg(
|
||||
"--convert",
|
||||
help="Convert downloaded trades to OHLCV data. Only applicable in combination with `--dl-trades`. "
|
||||
"Will be automatic for exchanges which don't have historic OHLCV (e.g. Kraken). "
|
||||
"If not provided, use `trades-to-ohlcv` to convert trades data to OHLCV data.",
|
||||
action="store_true",
|
||||
),
|
||||
"format_from_trades": Arg(
|
||||
"--format-from",
|
||||
help="Source format for data conversion.",
|
||||
|
|
|
@ -370,6 +370,7 @@ class Configuration:
|
|||
("days", "Detected --days: {}"),
|
||||
("include_inactive", "Detected --include-inactive-pairs: {}"),
|
||||
("download_trades", "Detected --dl-trades: {}"),
|
||||
("convert_trades", "Detected --convert - Converting Trade data to OHCV {}"),
|
||||
("dataformat_ohlcv", 'Using "{}" to store OHLCV data.'),
|
||||
("dataformat_trades", 'Using "{}" to store trades data.'),
|
||||
("show_timerange", "Detected --show-timerange"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user