Skip to main content
Press ⌘K to search

Prices & technicals

Get daily OHLCV price history, latest prices for up to 25 tickers at once, and common technical indicators computed from the OHLCV. GetStockPrices and the four indicators track one stock's daily series over time, all read from the same daily bars; GetLatestPrices returns a one-row snapshot per ticker across a whole watchlist.

GetStockPrices

Daily OHLCV bars for one stock — one row per trading day with open, high, low, close and share volume, newest first. Defaults to roughly the last year up to the latest available session; use startDate/endDate to bound the window and maxResults to cap the count. This is the base series the four indicator tools below are computed from, so it's the natural starting point for charting and trend analysis.

Parameters: ticker (required), startDate, endDate, maxResults (default 250, newest first).

Ask: "Show me NVIDIA's daily prices for the past week."

Returns (trimmed):

Daily prices for NVDA (Nvidia Corp):

| Date | Open | High | Low | Close | Volume |
|------|------|------|-----|-------|--------|
| 2026-07-06 | 194.42 | 197.55 | 193.99 | 195.55 | 108,655,800 |
| 2026-07-07 | 192.37 | 198.41 | 191.14 | 196.93 | 123,810,500 |
| 2026-07-08 | 195.18 | 205.16 | 195.06 | 204.12 | 146,904,500 |

GetLatestPrices

The most recent closing price and share volume for a batch of tickers in a single call — one row per symbol with its trade date — so an agent can price a whole portfolio or watchlist without a separate lookup per stock. Accepts a comma-separated list of up to 25 symbols.

Parameters: tickers (required) — comma-separated list of up to 25 symbols.

Ask: "What are the latest closing prices for NVDA, AAPL, MSFT and GOOGL?"

Returns:

Latest prices:

| Ticker | Date | Close | Volume |
|--------|------|-------|--------|
| NVDA | 2026-07-10 | 210.96 | 148,124,000 |
| AAPL | 2026-07-10 | 315.32 | 34,109,200 |
| MSFT | 2026-07-10 | 385.10 | 24,612,200 |
| GOOGL | 2026-07-10 | 357.18 | 18,126,000 |

GetBollingerBands

Bollinger Bands for one stock: a middle band (simple moving average of close over period days) with upper and lower bands set stdDev standard deviations above and below it, shown alongside each day's close, newest first. The bands widen when volatility rises and contract when it falls, so a close pressing against the upper or lower band is a common overbought/oversold cue.

Parameters: ticker (required), period (default 20), stdDev (default 2), startDate, endDate, maxResults (default 60).

Ask: "Is NVIDIA trading near the top of its Bollinger Bands?"

Returns (trimmed):

Bollinger Bands (period=20, stdDev=2) for NVDA (Nvidia Corp):

| Date | Close | Lower | Middle | Upper |
|------|-------|-------|--------|-------|
| 2026-07-10 | 210.96 | 190.10 | 201.95 | 213.80 |
| 2026-07-09 | 202.78 | 190.31 | 201.42 | 212.54 |
| 2026-07-08 | 204.12 | 190.20 | 201.70 | 213.19 |

GetStochasticOscillator

The stochastic oscillator for one stock: %K, which locates each close within its high/low range over the kPeriod lookback, and %D, the smoothed signal line (a dPeriod moving average of %K), shown alongside the close, newest first. Readings above 80 flag overbought and below 20 oversold conditions, and %K crossing %D is a common momentum signal.

Parameters: ticker (required), kPeriod (default 14), dPeriod (default 3), startDate, endDate, maxResults (default 60).

Ask: "Is NVIDIA overbought on the stochastic oscillator?"

Returns (trimmed):

Stochastic Oscillator (%K=14, %D=3) for NVDA (Nvidia Corp):

| Date | Close | %K | %D |
|------|-------|----|----|
| 2026-07-10 | 210.96 | 87.47 | 66.78 |
| 2026-07-09 | 202.78 | 53.66 | 47.44 |
| 2026-07-08 | 204.12 | 59.20 | 37.48 |

GetAverageTrueRange

Wilder's Average True Range (ATR) for one stock — a volatility measure built from the true range (the greatest of high−low, |high−prev close| and |low−prev close|) and smoothed recursively over period days — shown alongside each day's close, newest first. A higher ATR means wider daily swings; it's commonly used to size positions and place stops in dollar terms rather than percentages.

Parameters: ticker (required), period (default 14), startDate, endDate, maxResults (default 60).

Ask: "How volatile is NVIDIA right now in dollar terms?"

Returns (trimmed):

Average True Range (period=14) for NVDA (Nvidia Corp):

| Date | Close | ATR |
|------|-------|-----|
| 2026-07-10 | 210.96 | 7.1676 |
| 2026-07-09 | 202.78 | 7.0205 |
| 2026-07-08 | 204.12 | 7.1275 |

GetOnBalanceVolume

On-Balance Volume (OBV) for one stock: a running cumulative total that adds the day's volume when the close rises, subtracts it when the close falls, and holds flat on an unchanged close, shown with the close and daily volume, newest first. Rising OBV confirms the volume flow behind an uptrend, while OBV and price pulling apart can flag a weakening move before the price turns.

Parameters: ticker (required), startDate, endDate, maxResults (default 60).

Ask: "Is volume confirming NVIDIA's price trend?"

Returns (trimmed):

On-Balance Volume for NVDA (Nvidia Corp):

| Date | Close | Volume | OBV |
|------|-------|--------|-----|
| 2026-07-10 | 210.96 | 148,124,000 | 512,313,601 |
| 2026-07-09 | 202.78 | 132,037,400 | 364,189,601 |
| 2026-07-08 | 204.12 | 146,904,500 | 496,227,001 |