Price history
get_price_historyRetrieve historical price data for EGX, US, and UAE instruments, including OHLCV candles for Egypt and closing prices elsewhere, by symbol, bar count, or date range.
Instructions
All markets. Egypt: historical OHLCV candles (kind: "candles"). US, UAE and other instruments: closing prices only (kind: "closes", points: [{time, close}], spacing chosen by Thndr: hourly for a week, daily for a month, weekly for the full history). Give either bars (most recent N, default 100) or a from/to range. History is limited to about 5 years.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO-8601 date (Cairo market day, e.g. 2026-01-31) or datetime (2026-01-31T10:00:00+02:00) | |
| bars | No | Most recent N bars (default 100) | |
| from | No | ISO-8601 date (Cairo market day, e.g. 2026-01-31) or datetime (2026-01-31T10:00:00+02:00) | |
| market | No | Market: "egypt" (EGX, default), "us" (NYSE/Nasdaq via Alpaca), "uae" (ADX) or "simulator" (paper trading) | egypt |
| symbol | Yes | Ticker symbol (e.g. "COMI") or Thndr asset id (UUID) | |
| resolution | No | Bar size (Egypt candles; elsewhere it only sizes the window — Thndr picks the spacing of closes) | 1d |