Fix some type problems

This commit is contained in:
Matthias
2022-05-25 10:13:37 +00:00
parent 9e4c68a5b4
commit b2968df5dc
5 changed files with 15 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ class Kraken(Exchange):
return (parent_check and
market.get('darkpool', False) is False)
def get_tickers(self, symbols: List[str] = None, cached: bool = False) -> Dict:
def get_tickers(self, symbols: Optional[List[str]] = None, cached: bool = False) -> Dict:
# Only fetch tickers for current stake currency
# Otherwise the request for kraken becomes too large.
symbols = list(self.get_markets(quote_currencies=[self._config['stake_currency']]))