read_price_history
Dividend-adjusted Yahoo history with optional local SMA, EMA, RSI, MACD, or Bollinger studies; not a current quote. A study series carries only the values it has. Each series values[i] is the study value for the bar at prices.date[firstPriceIndex + i]; earlier bars are warm-up and have no value.
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": "read_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most recent rows to return. Defaults to 120. | |
| symbol | Yes | ||
| endDate | No | Inclusive end date in YYYY-MM-DD form. Defaults to today. | |
| studies | No | Optional studies from adjusted closes; kind is SMA, EMA, RSI, BBANDS or MACD, uppercase. Defaults: period 14; MACD 12/26/9; Bollinger deviations 2. | |
| interval | No | Daily by default. | |
| startDate | No | Start date in YYYY-MM-DD form. Defaults to one year before endDate. The inclusive range spans at most 4000 calendar days, whatever the interval. |