File: WebAPI/historical_2.proto
Range of bars.
Type: sint64
Description: Boundary time of the requested range (see enum TimeDirection for the details).
Type: uint32
Description: Number of requested bars.
Note: The maximum number of bars that can be requested in one message is limited, 100000 by default.
Type: sint32
Description: Boundary index of the requested range (see enum TimeDirection for the details).
Type: uint32
Description: Note: TIME_DIRECTION_BACKWARD is used by default.
Source: BarRange.TimeDirection.
Description: Time direction.
•TIME_DIRECTION_BACKWARD = 1
Note: ‘utc_time’ and ‘index’ define the right bound of the requested range. If ‘utc_time’ is not specified then latest allowed and available time is used. The right bound is exclusive: the report will contain specified count of bars preceding the boundary. Each report will contain a set of bars sorted in descending order by (bar_utc_time, index). Reports related to a specific request will be ordered chronologically from the most recent one to the past.