Update parameter value to be clearer
This commit is contained in:
+1
-1
@@ -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:
|
You can convert these files into freqtrade files:
|
||||||
|
|
||||||
``` bash
|
``` 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
|
# Convert trade data to different ohlcv timeframes
|
||||||
freqtrade trades-to-ohlcv -p BTC/EUR BCH/EUR --exchange kraken -t 1m 5m 15m 1h
|
freqtrade trades-to-ohlcv -p BTC/EUR BCH/EUR --exchange kraken -t 1m 5m 15m 1h
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -424,7 +424,7 @@ AVAILABLE_CLI_OPTIONS = {
|
|||||||
"format_from_trades": Arg(
|
"format_from_trades": Arg(
|
||||||
'--format-from',
|
'--format-from',
|
||||||
help='Source format for data conversion.',
|
help='Source format for data conversion.',
|
||||||
choices=constants.AVAILABLE_DATAHANDLERS + ['csv'],
|
choices=constants.AVAILABLE_DATAHANDLERS + ['kraken_csv'],
|
||||||
required=True,
|
required=True,
|
||||||
),
|
),
|
||||||
"format_from": Arg(
|
"format_from": Arg(
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ def convert_trades_format(config: Config, convert_from: str, convert_to: str, er
|
|||||||
:param convert_to: Target format
|
:param convert_to: Target format
|
||||||
:param erase: Erase source data (does not apply if source and target format are identical)
|
: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':
|
if config['exchange']['name'] != 'kraken':
|
||||||
raise OperationalException(
|
raise OperationalException(
|
||||||
'Converting from csv is only supported for kraken.'
|
'Converting from csv is only supported for kraken.'
|
||||||
|
|||||||
Reference in New Issue
Block a user