fix: remove unnecessary kraken workaround

fixes "list-pairs" command for kraken.
This commit is contained in:
Matthias
2025-05-20 19:22:05 +02:00
parent 8c999cd60c
commit 0a3a1d7eca

View File

@@ -49,18 +49,6 @@ class Kraken(Exchange):
return parent_check and market.get("darkpool", False) is False
def get_tickers(
self,
symbols: list[str] | None = None,
*,
cached: bool = False,
market_type: TradingMode | None = None,
) -> Tickers:
# 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"]]))
return super().get_tickers(symbols=symbols, cached=cached, market_type=market_type)
def consolidate_balances(self, balances: CcxtBalances) -> CcxtBalances:
"""
Consolidate balances for the same currency.