The IntradayBarsRequest object is used as an input in GetIntradayBars API. This API is used to acquire intraday bars.

IntradayBarsRequest

Field Name Data Type Accepted Values/Examples
BarInterval int32 Bar interval in minutes
Date google.protobuf.Timestamp The end date for the query, i.e. the most recent date for which bars should be retrieved. If null, defaults to the current date
DaysBack int32 The number of days worth of bars to retrieve
requestId google.protobuf.Int32Value A user-supplied request ID that can be used to disambiguate response data
ShowPrePostMarket bool If set to True, displays the pre/post trading hours market data
StartAtMidnight bool If set to True, the first bar of the day includes all data since midnight, otherwise the first bar of the day includes all data since the session open time
StartTime google.protobuf.Duration Bars earlier than this time will be excluded. If null, there is no restriction
StopTime google.protobuf.Duration Bars later than this time will be excluded. If null, there is no restriction
Symbol string Valid ticker symbol (e.g., AAPL, IBM, VOD.LSE)
UserToken string A server generated GUID that is given as response to the client during the first login