fix: remove unnecessary kraken workaround
fixes "list-pairs" command for kraken.
This commit is contained in:
@@ -49,18 +49,6 @@ class Kraken(Exchange):
|
|||||||
|
|
||||||
return parent_check and market.get("darkpool", False) is False
|
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:
|
def consolidate_balances(self, balances: CcxtBalances) -> CcxtBalances:
|
||||||
"""
|
"""
|
||||||
Consolidate balances for the same currency.
|
Consolidate balances for the same currency.
|
||||||
|
|||||||
Reference in New Issue
Block a user