Fix bug caused by any typing

This commit is contained in:
Matthias
2024-03-16 17:19:01 +01:00
parent 21bca95b6a
commit b5307f8281
2 changed files with 9 additions and 9 deletions

View File

@@ -455,10 +455,8 @@ class DataProvider:
use_public_trades = self._config.get('exchange', {}).get('use_public_trades', False)
if use_public_trades:
datahandler = get_datahandler(
self._config['datadir'], data_format=self._config['dataformat_trades'])
if self._exchange:
self._exchange.refresh_latest_trades(pairlist, datahandler)
self._exchange.refresh_latest_trades(pairlist)
@property
def available_pairs(self) -> ListPairsWithTimeframes: