Account (WebSocket)
Fills
Track executions, fees, and the account’s side of each trade.
WSS
Use
fill events to record executions for an account. Subscribe through the
public account stream, without a signature.
There is no network-side filter for fills: other account events arrive on the
same subscription.
When it arrives
A fill is emitted for each trade execution, alongside separate order-state updates.isBuy describes this account’s side, while maker identifies its
role in the execution. The maker and taker views have opposite directions.
Liquidation and ADL executions are distinguished by their reason fields.
Handling
RetainorderId, the account, and isolated-account identity when recording a
fill. Treat tradeId as an opaque, network-local execution ID: maker, taker,
and isolated views of one execution share it. Do not deduplicate different
account-side records solely by tradeId, or interpret gaps as missing fills.
IDs are not portable across forks or networks.
On reconnect, reconcile through paginated account history.
HTTP fill history does not expose tradeId; it provides slot, sequence,
orderIdMaker, and orderIdTaker. Preserve account and isolated identity when
matching historical rows to live events. A fresh account snapshot restores
current state but does not replay missed fills.