Price History
price.historyReturn historical observations for an instrument code (up to 500 points). Use after price.latest when you need a short time series for the same code.
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": {
"code": "<code>"
},
"name": "price.history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Instrument code from catalog.list. Example: CL, GC, ZC. | |
| limit | No | Number of historical points to return. Max 500, default 60. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Historical observations, newest first or as stored | |
| count | Yes | Number of points returned | |
| series_id | Yes | Underlying series id | |
| instrument | Yes | Instrument code |