mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-04-29 05:20:10 +00:00
chore: Add explanation for get_balances
This commit is contained in:
@@ -108,7 +108,10 @@ class Hyperliquid(Exchange):
|
||||
return parent_check
|
||||
|
||||
def get_balances(self, params: dict | None = None) -> CcxtBalances:
|
||||
"""Fetch balances from default DEX and HIP-3 DEXes needed by tradable pairs."""
|
||||
"""Fetch balances from default DEX and HIP-3 DEXes needed by tradable pairs.
|
||||
This override is not absolutely necessary and is only there for correct used / total values
|
||||
which are however not used by Freqtrade in futures mode at the moment.
|
||||
"""
|
||||
balances = super().get_balances()
|
||||
dexes = self._get_configured_hip3_dexes()
|
||||
for dex in dexes:
|
||||
|
||||
Reference in New Issue
Block a user