Update default dataformat to feather

This commit is contained in:
Matthias
2023-07-09 14:29:48 +02:00
parent 3cf419cbcd
commit cca8c4e5b8
11 changed files with 21 additions and 21 deletions

View File

@@ -239,7 +239,7 @@ class Backtesting:
timerange=self.timerange,
startup_candles=self.config['startup_candle_count'],
fail_without_data=True,
data_format=self.config.get('dataformat_ohlcv', 'json'),
data_format=self.config.get('dataformat_ohlcv', 'feather'),
candle_type=self.config.get('candle_type_def', CandleType.SPOT)
)
@@ -268,7 +268,7 @@ class Backtesting:
timerange=self.timerange,
startup_candles=0,
fail_without_data=True,
data_format=self.config.get('dataformat_ohlcv', 'json'),
data_format=self.config.get('dataformat_ohlcv', 'feather'),
candle_type=self.config.get('candle_type_def', CandleType.SPOT)
)
else:
@@ -282,7 +282,7 @@ class Backtesting:
timerange=self.timerange,
startup_candles=0,
fail_without_data=True,
data_format=self.config.get('dataformat_ohlcv', 'json'),
data_format=self.config.get('dataformat_ohlcv', 'feather'),
candle_type=CandleType.FUNDING_RATE
)
@@ -294,7 +294,7 @@ class Backtesting:
timerange=self.timerange,
startup_candles=0,
fail_without_data=True,
data_format=self.config.get('dataformat_ohlcv', 'json'),
data_format=self.config.get('dataformat_ohlcv', 'feather'),
candle_type=CandleType.from_string(self.exchange.get_option("mark_ohlcv_price"))
)
# Combine data to avoid combining the data per trade.