Bingex.Swap.WalletUpdate (Bingex v0.1.7)
Represents a wallet balance update event for a swap account in BingX (ws event).
This module captures changes in wallet balance, including available funds and total balance.
Summary
Types
@type t() :: %Bingex.Swap.WalletUpdate{ asset: binary(), available_balance: float(), balance: float(), balance_change: float() }
Wallet update information.
Fields:
asset
(binary): Asset symbol (e.g., "USDT").balance_change
(float): Change in the wallet balance.available_balance
(float): Updated available balance after the change.balance
(float): Total balance after the update.