Account (WebSocket)
Account Settings
Leverage and fee-tier changes on the account WebSocket stream.
WSS
Keep displayed leverage settings and fee tiers current using the shared
account subscription. These messages share the
account stream with other events; this reference does not create a separate
subscription or a network-side settings filter. Dispatch by
data.type.
Handling settings updates
leverageUpdatesupplies aleveragearray of symbol and leverage pairs. Apply each entry to the corresponding symbol’s leverage setting. This is a settings update, not a fill or a position-size change.feeTierUpdatesupplies afeeTiersarray with the applicablesymbolscope, rolling volume, tier index and threshold, maker and taker rates in basis points, and the rolling window length in days. Theglobalsymbol identifies a global fee-tier entry.
ts in nanoseconds. The leverage-update payload has no
timestamp field in this schema; do not require a common timestamp key across
both message types. Preserve integer precision when decoding ts.