get_price_history
Retrieve historical OHLCV stock prices with adjustments for splits and dividends. Data available from 1986 for Brazilian tickers.
Instructions
Get historical OHLCV stock prices with adjusted values for splits and dividends.
Data available from 1986 to present.
Args: ticker: Stock ticker (e.g. PETR4) start: Start date (YYYY-MM-DD) end: End date (YYYY-MM-DD) limit: Max data points (default 30, max 5000)
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_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| limit | No | ||
| start | No | ||
| ticker | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |