get_orderbook
Retrieve a prediction market's YES-side order book with bids, asks, and spread; Kalshi NO bids are converted to YES asks for venue-neutral quoting.
Instructions
YES-side order book: bids best-first, asks best-first, plus the spread.
Kalshi NO bids are converted to YES asks (a NO bid at p equals a YES ask at 1 - p).
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": {
"venue": "<venue>",
"market_id": "<market_id>"
},
"name": "get_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| venue | Yes | ||
| market_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||