Update parameter value to be clearer

This commit is contained in:
Matthias 2023-09-25 19:55:58 +02:00
parent 74709461e3
commit 8ad6eb9896
3 changed files with 3 additions and 3 deletions

View File

@ -162,7 +162,7 @@ Not having this will lead to incomplete data, and therefore invalid results whil
You can convert these files into freqtrade files:
``` bash
freqtrade convert-trade-data --exchange kraken --format-from csv --format-to feather
freqtrade convert-trade-data --exchange kraken --format-from kraken_csv --format-to feather
# Convert trade data to different ohlcv timeframes
freqtrade trades-to-ohlcv -p BTC/EUR BCH/EUR --exchange kraken -t 1m 5m 15m 1h
```

View File

@ -424,7 +424,7 @@ AVAILABLE_CLI_OPTIONS = {
"format_from_trades": Arg(
'--format-from',
help='Source format for data conversion.',
choices=constants.AVAILABLE_DATAHANDLERS + ['csv'],
choices=constants.AVAILABLE_DATAHANDLERS + ['kraken_csv'],
required=True,
),
"format_from": Arg(

View File

@ -128,7 +128,7 @@ def convert_trades_format(config: Config, convert_from: str, convert_to: str, er
:param convert_to: Target format
:param erase: Erase source data (does not apply if source and target format are identical)
"""
if convert_from == 'csv':
if convert_from == 'kraken_csv':
if config['exchange']['name'] != 'kraken':
raise OperationalException(
'Converting from csv is only supported for kraken.'