Skip to main content
Glama

Get price history (OHLCV)

get_ohlcv
Read-onlyIdempotent

Historical candles for one symbol as compact columns [time, open, high, low, close, volume] plus summary statistics (period return, high/low, average volume, annualized volatility, max drawdown). Set summary_only=true when you only need the statistics. Intraday intervals (1m–1h) are limited to recent ranges (1m: 7 days, 5m–30m: 60 days, 1h: 2 years).

Input Schema

NameRequiredDescriptionDefault
endNoEnd date YYYY-MM-DD (UTC), defaults to today
limitNoMaximum candles returned (most recent kept)
rangeNoLookback window; ignored when start is given3mo
startNoStart date YYYY-MM-DD (UTC)
symbolYesOne symbol, e.g. 'NVDA', 'BTC', 'CL=F', '^GSPC'
intervalNo1d
summary_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources