Wallet
Subscribe to the wallet stream to see changes to your wallet in real-time.
Covers: USDT Perpetual, Inverse Perpetual, Inverse Future
Push frequency: real-time
Topic:
user.wallet.contractAccount
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| topic | string | Topic name |
| data | array | Object |
| > coin | string | Coin |
| > equity | string | Equity |
| > walletBalance | string | Wallet balance |
| > positionMargin | string | Position margin |
| > availableBalance | string | Available balance |
| > orderMargin | string | Order margin. Margin is occupied by open orders |
| > unrealisedPnl | string | Unrealised pnl |
| > cumRealisedPnl | string | Cumulative realised pnl |
Stream Example
{
"topic": "user.wallet.contractAccount",
"data": [
{
"coin": "USDT",
"equity": "8538.34927711",
"walletBalance": "8505.77505604",
"positionMargin": "58.93257631",
"availableBalance": "8436.20247873",
"orderMargin": "10.640001",
"unrealisedPnl": "32.57422107",
"cumRealisedPnl": "-195.05231821"
}
]
}