Convert StrategyLoader to static loader

This commit is contained in:
Matthias
2019-12-23 10:23:48 +01:00
parent 6d5aca4f32
commit c6d2233978
8 changed files with 116 additions and 112 deletions

View File

@@ -340,7 +340,7 @@ def load_and_plot_trades(config: Dict[str, Any]):
- Generate plot files
:return: None
"""
strategy = StrategyResolver(config).strategy
strategy = StrategyResolver.load_strategy(config)
plot_elements = init_plotscript(config)
trades = plot_elements['trades']