Use market data to get base and quote currencies in @informative() decorator.

This commit is contained in:
Rokas Kupstys
2021-11-22 09:27:33 +02:00
parent 280a0ec17e
commit 78a00f2518
4 changed files with 22 additions and 21 deletions

View File

@@ -67,7 +67,7 @@ class Backtesting:
self.all_results: Dict[str, Dict] = {}
self.exchange = ExchangeResolver.load_exchange(self.config['exchange']['name'], self.config)
self.dataprovider = DataProvider(self.config, None)
self.dataprovider = DataProvider(self.config, self.exchange)
if self.config.get('strategy_list', None):
for strat in list(self.config['strategy_list']):