Market Data

Get Session Closes

Get the two most recently completed regular session closes.

  • current_session_close: the most recent cash session close (last bar <= 16:00 ET on the most recent completed trading day).
  • prior_session_close: the session close immediately before current.

delay_minutes answers as of that many minutes ago, so a session that closed inside the delay is not yet a close (see src/api/delayed_read.py).

get/api/market/session-closes

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/market/session-closes
  • Auth: HTTP bearer

Query parameters

symbolstring
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

symbolstring required
current_session_closestring required
current_session_close_tsstring date-time nullable required
prior_session_closestring required
prior_session_close_tsstring date-time nullable required

Changes

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