Expand description
Parsers that convert BitMEX WebSocket payloads into Nautilus data structures.
Functions§
- bar_
spec_ from_ topic - Converts a WebSocket topic to a bar specification.
- is_
index_ symbol - Check if a symbol is an index symbol (starts with ‘.’).
- parse_
book10_ msg - Parses an
OrderBook10
message into anOrderBookDepth10
object. - parse_
book10_ msg_ vec - Converts BitMEX level-10 snapshots into Nautilus depth events.
- parse_
book_ msg - Converts a BitMEX order book row into a Nautilus order-book delta.
- parse_
book_ msg_ vec - Converts a batch of BitMEX order-book rows into Nautilus delta events.
- parse_
execution_ msg - Parse a BitMEX WebSocket execution message into a Nautilus
FillReport
. - parse_
funding_ msg - Parse a BitMEX WebSocket funding message.
- parse_
instrument_ msg - Parse a BitMEX WebSocket instrument message for mark and index prices.
- parse_
margin_ msg - Parse a BitMEX margin message into margin balance information.
- parse_
order_ msg - Parse a BitMEX WebSocket order message into a Nautilus
OrderStatusReport
. - parse_
order_ update_ msg - Parse a BitMEX WebSocket order update message into a Nautilus
OrderUpdated
event. - parse_
position_ msg - Parse a BitMEX WebSocket position message into a Nautilus
PositionStatusReport
. - parse_
quote_ msg - Converts a BitMEX quote message into a
QuoteTick
, filling missing data from cache. - parse_
trade_ bin_ msg - Converts a BitMEX trade-bin summary into a
Bar
for the matching topic. - parse_
trade_ bin_ msg_ vec - Converts aggregated trade-bin messages into Nautilus data events.
- parse_
trade_ msg - Converts a BitMEX trade message into a
TradeTick
. - parse_
trade_ msg_ vec - Converts BitMEX trade messages into Nautilus trade data events.
- parse_
wallet_ msg - Parse a BitMEX wallet message into an AccountState.
- topic_
from_ bar_ spec - Converts a bar specification to a WebSocket topic.