Merge pull request #11580 from freqtrade/dependabot/pip/develop/ccxt-4.4.71

chore(deps): bump ccxt from 4.4.69 to 4.4.71
This commit is contained in:
Matthias
2025-03-31 09:02:38 +02:00
committed by GitHub
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ class Kraken(Exchange):
consolidated: CcxtBalances = {} consolidated: CcxtBalances = {}
for currency, balance in balances.items(): for currency, balance in balances.items():
base_currency = currency[:-2] if currency.endswith(".F") else currency base_currency = currency[:-2] if currency.endswith(".F") else currency
base_currency = self._api.commonCurrencies.get(base_currency, base_currency)
if base_currency in consolidated: if base_currency in consolidated:
consolidated[base_currency]["free"] += balance["free"] consolidated[base_currency]["free"] += balance["free"]
consolidated[base_currency]["used"] += balance["used"] consolidated[base_currency]["used"] += balance["used"]
+1 -1
View File
@@ -4,7 +4,7 @@ bottleneck==1.4.2
numexpr==2.10.2 numexpr==2.10.2
pandas-ta==0.3.14b pandas-ta==0.3.14b
ccxt==4.4.69 ccxt==4.4.71
cryptography==44.0.2 cryptography==44.0.2
aiohttp==3.9.5 aiohttp==3.9.5
SQLAlchemy==2.0.40 SQLAlchemy==2.0.40
+1 -1
View File
@@ -71,7 +71,7 @@ def test_get_balances_prod_kraken(default_conf, mocker):
"4TH": balance_item.copy(), "4TH": balance_item.copy(),
"EUR": balance_item.copy(), "EUR": balance_item.copy(),
"BTC": {"free": 0.0, "total": 0.0, "used": 0.0}, "BTC": {"free": 0.0, "total": 0.0, "used": 0.0},
"XBT.F": balance_item.copy(), "BTC.F": balance_item.copy(),
"timestamp": 123123, "timestamp": 123123,
} }
) )
+1 -1
View File
@@ -156,7 +156,7 @@ EXCHANGES = {
"ADA.F": {"free": 2.0, "total": 2.0, "used": 0.0}, "ADA.F": {"free": 2.0, "total": 2.0, "used": 0.0},
"BTC": {"free": 0.0006, "total": 0.0006, "used": 0.0}, "BTC": {"free": 0.0006, "total": 0.0006, "used": 0.0},
# XBT.F should be mapped to BTC.F # XBT.F should be mapped to BTC.F
"XBT.F": {"free": 0.001, "total": 0.001, "used": 0.0}, "BTC.F": {"free": 0.001, "total": 0.001, "used": 0.0},
}, },
}, },
}, },