Move .title to ExchangeResolver (it does not make sense to do this over

and over again)
This commit is contained in:
Matthias
2019-06-22 16:52:14 +02:00
parent 026784efac
commit 4cbcb5f36f
6 changed files with 7 additions and 9 deletions

View File

@@ -68,8 +68,7 @@ def analyse_and_plot_pairs(config: Dict[str, Any]):
-Generate plot files
:return: None
"""
exchange_name = config.get('exchange', {}).get('name').title()
exchange = ExchangeResolver(exchange_name, config).exchange
exchange = ExchangeResolver(config.get('exchange', {}).get('name'), config).exchange
strategy = StrategyResolver(config).strategy
if "pairs" in config: