Expand description
SBE decoders for Binance Spot user data stream events.
Decodes templates 601 (BalanceUpdateEvent), 603 (ExecutionReportEvent), and
607 (OutboundAccountPositionEvent) from schema 3:3 binary payloads into the
venue-level structs defined in super::user_data.
The existing JSON parse functions in super::parse then convert these to Nautilus types.
Functionsยง
- decode_
account_ position - Decodes an SBE OutboundAccountPositionEvent (template 607) into a
BinanceSpotAccountPositionMsg. - decode_
balance_ update - Decodes an SBE BalanceUpdateEvent (template 601) into a
BinanceSpotBalanceUpdateMsg. - decode_
execution_ report - Decodes an SBE ExecutionReportEvent (template 603) into a
BinanceSpotExecutionReport.