mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-03 10:33:08 +00:00
chore: Add typehint for consolidated method
This commit is contained in:
@@ -61,7 +61,7 @@ class Kraken(Exchange):
|
||||
Consolidate balances for the same currency.
|
||||
Kraken returns ".F" balances if rewards is enabled.
|
||||
"""
|
||||
consolidated = {}
|
||||
consolidated: CcxtBalances = {}
|
||||
for currency, balance in balances.items():
|
||||
base_currency = currency[:-2] if currency.endswith(".F") else currency
|
||||
if base_currency in consolidated:
|
||||
|
||||
Reference in New Issue
Block a user