Changed workings so it only needs to timing-parameter, instead of also requiring a boolean value

This commit is contained in:
hoeckxer
2021-01-12 07:30:39 +01:00
parent b43ef474ad
commit e328182bd7
4 changed files with 6 additions and 11 deletions

View File

@@ -109,7 +109,6 @@ def test_get_signal_old_dataframe(default_conf, mocker, caplog, ohlcv_history):
def test_ignore_expired_candle(default_conf):
default_conf.update({'strategy': 'DefaultStrategy'})
strategy = StrategyResolver.load_strategy(default_conf)
strategy.ignore_buying_expired_candle = True
strategy.ignore_buying_expired_candle_after = 60
latest_date = datetime(2020, 12, 30, 7, 0, 0, tzinfo=timezone.utc)