get_order_book
Retrieve bids, asks, and spread for a market order book by market ID, with optional depth and venue filters, to assess liquidity before trading.
Instructions
Get the order book for a market: bids, asks, spread.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"market_id": "<market_id>"
},
"name": "get_order_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Number of price levels per side (default: 10) | |
| venue | No | Venue name | |
| market_id | Yes | Market ID or symbol |