Add candletype from string

This commit is contained in:
Matthias
2021-12-03 12:46:18 +01:00
parent f9cf59bb4d
commit f33643cacf
3 changed files with 26 additions and 0 deletions

View File

@@ -275,6 +275,7 @@ def convert_ohlcv_format(
:param convert_from: Source format
:param convert_to: Target format
:param erase: Erase source data (does not apply if source and target format are identical)
:param candle_type: Any of the enum CandleType (must match trading mode!)
"""
from freqtrade.data.history.idatahandler import get_datahandler
src = get_datahandler(config['datadir'], convert_from)