Get price history (sparklines)
stoquant_get_sparklinesRetrieve up to 90 days of historical close prices for up to 50 tickers to generate sparklines or analyze trends and returns. Adjustable interval (daily, weekly, monthly) for granularity.
Instructions
Historical price series (~90 days) for up to 50 tickers, for charting or trend/return computation. interval controls granularity (1d daily, 1wk weekly, 1mo monthly). Returns an array of close prices per ticker, not full OHLCV.
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": {
"tickers": "<tickers>"
},
"name": "stoquant_get_sparklines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tickers | Yes | ||
| interval | No | Bar granularity | 1d |