Update hyperoptable strategy to use V3 interface

This commit is contained in:
Matthias
2022-07-16 11:15:14 +02:00
parent 1c7f60103d
commit 29efe75a6f
5 changed files with 61 additions and 6 deletions

View File

@@ -916,7 +916,7 @@ def test_hyperopt_parameters():
def test_auto_hyperopt_interface(default_conf):
default_conf.update({'strategy': 'HyperoptableStrategy'})
default_conf.update({'strategy': 'HyperoptableStrategyV2'})
PairLocks.timeframe = default_conf['timeframe']
strategy = StrategyResolver.load_strategy(default_conf)
strategy.ft_bot_start()