chart
Fetch price time series for an instrument, automatically resolving the order book, with periods from 1 day to all-time, returning OHLCV, previous close, and returns.
Instructions
Price time series for an instrument (resolves the order book id automatically).
Periods: DAY_1, WEEK_1, MONTH_1, MONTH_3, MONTH_6, YTD, YEAR_1, ALL. Returns price points (open/high/low/last/volume), previous close and returns.
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": {
"instrument_id": "<instrument_id>"
},
"name": "chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | YEAR_1 | |
| instrument_id | Yes |