Market Data (v2)

Api V2 Market Historical Get

Get historical quotes.

delay_minutes ends the window at the newest bar at least that old, however late end_date asks for (see src/api/delayed_read.py).

get/api/v2/market/historical

Request

  • Base URL: https://api.zerogex.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.zerogex.io/api/v2/market/historical
  • Auth: HTTP bearer

Query parameters

symbolstring
start_datestring nullable
end_datestring nullable
window_unitsinteger
timeframe'1min' | '5min' | '15min' | '1hr' | '1day' | '1hour'
allow_futuresboolean

Opt-in: when true and outside the cash session, return the cash index's futures bars instead of the (frozen) index series. Only the candlestick chart sets this; index-keyed overlays (gamma heatmap, max-pain, smart-money) leave it false so their price series stays the index.

delay_minutesinteger

Serve the newest data that is at least this many minutes old instead of the latest. 0, the default, is the live read.

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.