get_stock_prices
Retrieve historical end-of-day stock prices for one instrument, with optional from/to date filters to limit response size. Returns date, open, high, low, close, volume.
Instructions
Get historical end-of-day stock prices for one instrument. Up to 20 years of data. Returns date, open, high, low, close, volume. Use from/to date filters to limit the response size — without filters this returns the full history which can be very large.
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": {
"insId": "<insId>"
},
"name": "get_stock_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (YYYY-MM-DD) | |
| from | No | Start date (YYYY-MM-DD). Recommended to always set this to avoid very large responses. | |
| insId | Yes | Instrument ID |