get_ob_l2_snapshot
Retrieve a Level 2 order book snapshot for a cryptocurrency pair on a specified exchange, with configurable depth to control the number of price levels.
Instructions
Get L2 order book snapshot with configurable depth
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": {
"fsym": "<fsym>",
"tsym": "<tsym>",
"e": "<e>"
},
"name": "get_ob_l2_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| e | Yes | Exchange name | |
| fsym | Yes | From symbol | |
| toTs | No | End timestamp (Unix) | |
| tsym | Yes | To symbol | |
| limit | No | Depth (number of price levels, default: 10) |