get_analyzed_df does not need a "candle_type" argument

This commit is contained in:
Matthias 2021-11-28 19:14:58 +01:00
parent cb4efa6d56
commit 134b129d9d

View File

@ -925,7 +925,7 @@ def test_backtest_multi_pair(default_conf, fee, mocker, tres, pair, testdatadir)
removed_candles = len(data[pair]) - offset - backtesting.strategy.startup_candle_count removed_candles = len(data[pair]) - offset - backtesting.strategy.startup_candle_count
assert len(backtesting.dataprovider.get_analyzed_dataframe(pair, '5m')[0]) == removed_candles assert len(backtesting.dataprovider.get_analyzed_dataframe(pair, '5m')[0]) == removed_candles
assert len( assert len(
backtesting.dataprovider.get_analyzed_dataframe('NXT/BTC', '5m', '')[0] backtesting.dataprovider.get_analyzed_dataframe('NXT/BTC', '5m')[0]
) == len(data['NXT/BTC']) - 1 - backtesting.strategy.startup_candle_count ) == len(data['NXT/BTC']) - 1 - backtesting.strategy.startup_candle_count
backtest_conf = { backtest_conf = {