Skip to content

Commit 0a3a1d7

Browse files
committed
fix: remove unnecessary kraken workaround
fixes "list-pairs" command for kraken.
1 parent 8c999cd commit 0a3a1d7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

freqtrade/exchange/kraken.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,6 @@ def market_is_tradable(self, market: dict[str, Any]) -> bool:
4949

5050
return parent_check and market.get("darkpool", False) is False
5151

52-
def get_tickers(
53-
self,
54-
symbols: list[str] | None = None,
55-
*,
56-
cached: bool = False,
57-
market_type: TradingMode | None = None,
58-
) -> Tickers:
59-
# Only fetch tickers for current stake currency
60-
# Otherwise the request for kraken becomes too large.
61-
symbols = list(self.get_markets(quote_currencies=[self._config["stake_currency"]]))
62-
return super().get_tickers(symbols=symbols, cached=cached, market_type=market_type)
63-
6452
def consolidate_balances(self, balances: CcxtBalances) -> CcxtBalances:
6553
"""
6654
Consolidate balances for the same currency.

0 commit comments

Comments
 (0)