Change default value of process_only_new_candles to True since False is an uncommon usecase for expert strategy devs

This commit is contained in:
robcaulk
2022-05-23 10:24:58 +02:00
parent 063fc5174d
commit 5c4014ee62
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)