Markets
Data feed of all Rubin markets. Data contains updates to all markets, including market parameters and oracle prices.
Method Declaration
Python
# class `Markets`
def subscribe(self, batched: bool = True) -> Self
def unsubscribe(self)Schema
The field id is not employed in the subscribe/unsubscribe schemas.
The field contents is serialized using the following schemas.
Messages
| Initial | Update |
|---|---|
MarketsInitialMessage | MarketsUpdateMessage * |