Merge pull request #6883 from freqtrade/makeProcessCandlesTrue

Change default value of process_only_new_candles to True since False …
This commit is contained in:
Matthias
2022-05-24 07:03:14 +02:00
committed by GitHub
5 changed files with 7 additions and 7 deletions

View File

@@ -224,12 +224,12 @@ def test_strategy_override_process_only_new_candles(caplog, default_conf):
default_conf.update({
'strategy': CURRENT_TEST_STRATEGY,
'process_only_new_candles': True
'process_only_new_candles': False
})
strategy = StrategyResolver.load_strategy(default_conf)
assert strategy.process_only_new_candles
assert log_has("Override strategy 'process_only_new_candles' with value in config file: True.",
assert not strategy.process_only_new_candles
assert log_has("Override strategy 'process_only_new_candles' with value in config file: False.",
caplog)