Expand description
Parsing helpers for Bybit WebSocket payloads.
Functionsยง
- parse_
kline_ topic - Parses a Bybit kline topic into (interval, symbol).
- parse_
orderbook_ deltas - Parses an order book depth message into [
OrderBookDeltas]. - parse_
orderbook_ quote - Parses an order book snapshot or delta into a [
QuoteTick]. - parse_
ticker_ linear_ quote - Parses a linear or inverse ticker payload into a [
QuoteTick]. - parse_
ticker_ option_ quote - Parses an option ticker payload into a [
QuoteTick]. - parse_
topic - Parses a Bybit WebSocket topic string into its components.
- parse_
ws_ account_ state - Parses a WebSocket account wallet payload into an [
AccountState]. - parse_
ws_ fill_ report - Parses a WebSocket account execution payload into a [
FillReport]. - parse_
ws_ kline_ bar - Parses a WebSocket kline payload into a [
Bar]. - parse_
ws_ order_ status_ report - Parses a WebSocket account order payload into an [
OrderStatusReport]. - parse_
ws_ position_ status_ report - Parses a WebSocket account position payload into a [
PositionStatusReport]. - parse_
ws_ trade_ tick - Parses a WebSocket trade frame into a [
TradeTick].