Options WebSocket Market Streams
string · enuminteger · int64integer · int64stringstringstringstringstringstringstringstring · enuminteger · int64integer · int64string · enumstring · enuminteger · int64integer · int64string · enumstringstringstring · enuminteger · int64integer · int64string · enuminteger · int64string · enumstringstring
Properties for ACCOUNT_UPDATE:string · enuminteger · int64integer · int64stringstringstringstringstringstringstring
accountUpdate
eEvent Type
Enum values:
ACCOUNT_UPDATE
EEvent Time
Example: 1762914568643
TTransaction Time
Example: 1762914568619
eqAccount equity in USDT
Example: 10000371.61462086
aeqAccount adjusted equity in USDT
Example: 10000475.51032086
bAccount wallet balance in USDT
Example: 10000475.51032086
mPosition value
Example: -103.89570000
uUnrealized PnL
Example: 16.10430000
iInitial margin in USDT
Example: 32354.38562539
MMaintenance margin in USDT
Example: 6089.28766956
balancePositionUpdate
eEvent Type
Enum values:
BALANCE_POSITION_UPDATE
EEvent Time
Example: 1762917544216
TTransaction Time
Example: 1762917544206
mEvent reason type
Enum values:
DEPOSIT
WITHDRAW
ORDER
Example: ORDER
object[]
Balances
object[]
Positions
greekUpdate
eEvent Type
Enum values:
GREEK_UPDATE
EEvent Time
Example: 1762917544216
TTransaction Time
Example: 1762917544216
object[]
listenKeyExpired
eEvent Type
Enum values:
listenKeyExpired
EEvent Time
Example: 1736996475556
listenKeyExample: WsCMN0a4KHUPTQuX6IUnqEZfB1inxmv1qR4kbf1LuEjur5VdbzqvyxqG9TSjVVxv
orderTradeUpdate
eEvent Type
Enum values:
ORDER_TRADE_UPDATE
EEvent Time
Example: 1568879465651
TTransaction Time
Example: 1568879465650
object
riskLevelChange
eEvent Type
Enum values:
RISK_LEVEL_CHANGE
EEvent Time
Example: 1587727187525
sRisk level. This feature only applies to VIP and Market Maker accounts. Risk level is re-evaluated on: funds transfer, trade fill, option expiry.
Enum values:
NORMAL
REDUCE_ONLY
Example: REDUCE_ONLY
mbMargin balance
Example: 1534.11708371
mmMaintenance margin
Example: 254789.11708371
User Data Stream Events
oneOf
Exactly one variant must match.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · e="ACCOUNT_UPDATE" | |
| type = object · e="BALANCE_POSITION_UPDATE" | |
| type = object · e="GREEK_UPDATE" | |
| type = object · e="listenKeyExpired" | |
| type = object · e="ORDER_TRADE_UPDATE" | |
| type = object · e="RISK_LEVEL_CHANGE" |
eEvent Type
Enum values:
ACCOUNT_UPDATE
EEvent Time
Example: 1762914568643
TTransaction Time
Example: 1762914568619
eqAccount equity in USDT
Example: 10000371.61462086
aeqAccount adjusted equity in USDT
Example: 10000475.51032086
bAccount wallet balance in USDT
Example: 10000475.51032086
mPosition value
Example: -103.89570000
uUnrealized PnL
Example: 16.10430000
iInitial margin in USDT
Example: 32354.38562539
MMaintenance margin in USDT
Example: 6089.28766956