v1

latestSwagger 2.02026-07-172635179.1 KB
marketdata

Stream BarChart - Date Range

Streams barchart data starting from startDate to end date, each bar filling interval of unit.

get/v2/stream/barchart/{symbol}/{interval}/{unit}/{startDate}/{endDate}

Path parameters

symbolstring required

A Symbol name.

intervalinteger required

Interval that each bar will consist of. For Daily, Weekly, and Monthly units this value must be 1.

unit'Minute' | 'Daily' | 'Weekly' | 'Monthly' required

Unit of time for each bar interval.

startDatestring required

The starting date to begin streaming bars from. Date is of form MM-DD-YYYY, and optionally can specify a starting time with format MM-DD-YYYYt08:00:00 and even further UTC offset with format MM-DD-YYYYt12:00:00-0600.

endDatestring required

The ending date for bars streamed. Date is of form MM-DD-YYYY, and optionally can specify a starting time with format MM-DD-YYYYt08:00:00 and even further UTC offset with format MM-DD-YYYYt12:00:00-0600.

Query parameters

SessionTemplate'USEQPre' | 'USEQPost' | 'USEQPreAndPost' | 'USEQ24Hour' | 'Default'

United States (US) stock market session templates, that extend bars returned to include those outside of the regular trading session. Ignored for non-US equity symbols.

Response

Barchart Response