get_stock_prices
Retrieve historical daily open, high, low, close, and volume data for any NZX-listed company in New Zealand dollars. Specify a ticker symbol and optionally a date range or number of trailing days.
Instructions
Get historical daily stock prices for an NZX company. Returns OHLCV data (open, high, low, close, volume) in NZD.
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": {
"ticker": "<ticker>"
},
"name": "get_stock_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date in YYYY-MM-DD format | |
| days | No | Number of trailing days of data (default 365) | |
| from | No | Start date in YYYY-MM-DD format | |
| limit | No | Maximum data points to return (default 365, max 2000) | |
| ticker | Yes | NZX ticker symbol (e.g. 'AIR', 'FPH') |