Price bars
quantgeeks_get_price_barsRequires a QuantGeeks plan; not available without signing in (the call asks the user to sign in) or with a free account (the call says it needs a plan). Price bars, newest last, at most 100: by default 5-minute bars for the session (today or date), or daily bars when days is more than 1 or interval is D. interval is 1m, 5m, 15m or D; limit (1 to 100) keeps the newest bars; days (up to 250) sets the daily window. The reply gives from, to, returned and available so you can page by date, and latest (the live price, its time and basis, as quantgeeks_get_last_price gives it).
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": "quantgeeks_get_price_bars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Session date, YYYY-MM-DD (US Eastern). Default: the most recent regular session. | |
| days | No | Daily window in days (more than 1 selects daily bars). | |
| limit | No | How many of the newest bars (default and maximum 100). | |
| symbol | Yes | Ticker, e.g. SPX (maps to its 0DTE option root SPXW), SPY, QQQ, VIX. | |
| interval | No | 1m, 5m, 15m or D. Default 5m (D when days > 1). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| bars | Yes | ||
| from | Yes | ||
| note | No | ||
| as_of | Yes | ||
| access | Yes | ||
| latest | No | ||
| notice | Yes | ||
| source | Yes | ||
| symbol | Yes | ||
| account | No | ||
| preview | Yes | ||
| interval | Yes | ||
| pro_plan | No | ||
| returned | Yes | ||
| available | Yes | ||
| truncated | No | ||
| truncated_more | No |