mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 15:24:21 +01:00
Adding balance_available to the wallet (#132)
* Adding balance_available to the wallet * Refactoring bfx_rest.py/get_wallets to use the updated Wallet class, which has available_balance i it Co-authored-by: jon <fcmisc@gmail.com>
This commit is contained in:
@@ -383,7 +383,7 @@ class BfxRest:
|
||||
"""
|
||||
endpoint = "auth/r/wallets"
|
||||
raw_wallets = await self.post(endpoint)
|
||||
return [Wallet(*rw[:4]) for rw in raw_wallets]
|
||||
return [Wallet(*rw[:5]) for rw in raw_wallets]
|
||||
|
||||
async def get_active_orders(self, symbol):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user