Orders
Data feed of the orders of a market. Data contains lists of the bids and asks of the order book.
Method Declaration
Python
# class `OrderBook`
def subscribe(self, market: str, batched: bool = True) -> Self
def unsubscribe(self, market: str)Schema
The field id is the market/ticker as a string.
The field contents is serialized using the following schemas.
Messages
| Initial | Update |
|---|---|
OrdersInitialMessage | OrdersUpdateMessage * |