mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update parameter value to be clearer
This commit is contained in:
parent
74709461e3
commit
8ad6eb9896
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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.'
|
||||
|
|
Loading…
Reference in New Issue
Block a user