Skip to content

EOD Report

FreeValueStandardPro

REQUIRED

The Theta Terminal must be running to access data.

Since the indices feeds do not provide a national EOD report, Theta Data generates a national EOD report at 17:15 each day.

Sample URL

Paste the URL below into your browser while the Theta Terminal is running.

http://127.0.0.1:25510/v2/hist/index/eod?root=SPX&start_date=20231101&end_date=20231115

Output Descriptions

All fields that aren't listed below can be safely ignored when processing responses since indices are not quoted nor traded.

Field Description
ms_of_day Time time of day that the report was generated. Milliseconds since 00:00:00.000 (midnight) ET.
ms_of_day2 Time of the last price update. Milliseconds since 00:00:00.000 (midnight) ET.
open The opening price of the trading session.
high The high price of the trading session.
low The low price of the trading session.
close The closing price of the trading session.
date The date the price report was generated formatted as YYYYMMDD.

Parameters

Query Parameters

rootRequired  -

The symbol of the security. Option underlyings for indices might have special tickers.

Type: string (Default: SPX)
start_dateRequired  -

The start date (inclusive) of the request formatted as YYYYMMDD.

Type: integer (Default: 20230915)
end_dateRequired  -

The end date (inclusive) of the request formatted as YYYYMMDD.

Type: integer (Default: 20230915)
use_csvRequired  -

Uses CSV if true, legacy JSON if false.

Type: boolean (Default: false)

Sample Code