v1

latestSwagger 2.02026-07-172635179.1 KB
marketdata

Stream BarChart - Bars Back

Streams barchart data starting from a number of bars back from last date, each bar filling interval of unit.

get/v2/stream/barchart/{symbol}/{interval}/{unit}/{barsBack}/{lastDate}/...

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.

barsBackinteger required

The number of bars to stream, going back from time 00:00:00 of the day specified in lastDate.

lastDatestring required

The date to use as the end point when getting bars back. Date is of form MM-DD-YYYY, and is for time 00:00:00 of that day.

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