Yahoo price history (stocks / indices / ETFs / FX / crypto)
yahoo_chartRetrieve OHLCV price history and metadata for any Yahoo symbol, including equities, indices, ETFs, forex, and crypto. Adjust look-back range and candle interval for flexible analysis.
Instructions
OHLCV price history + metadata for any Yahoo symbol. Works for equities (AAPL), indices (^GSPC, ^DJI, ^IXIC, ^VIX), ETFs (SPY), FX (EURUSD=X) and crypto (BTC-USD). Use this for both stock and index data.
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": {
"symbol": "<symbol>"
},
"name": "yahoo_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Look-back window | 1mo |
| symbol | Yes | Yahoo symbol, e.g. AAPL, ^GSPC, SPY, BTC-USD | |
| interval | No | Candle size | 1d |