Message: NonTimedBarReport

File: WebAPI/historical_2.proto

Description

Non-time based bar data response or update.

Note: Each report contains a set of bars. The order of bars depends on BarRange.time_direction specified in the request. The order of reports related to a specific request depends on BarRange.time_direction specified in the request.

Requests: NonTimedBarRequest.

Used in

ServerMsg

Fields

request_id

Type: uint32

Description: ID of the request.

status_code

Type: uint32

Description: Source: BarReportStatusCode.

details

Type: shared_1.Text

Description: Optional failure details.

invalidated_from_utc_time

Type: sint64

Description: Time from which bars are invalidated.

invalidated_to_utc_time

Type: sint64

Description: Time up to which bars are invalidated.

Note: If ‘invalidated_from_utc_time’ is set and ‘invalidated_to_utc_time’ isn’t set, then bars are invalidated up to current time. In this case, bar updates stopped for this subscription.

up_to_utc_time

Type: int64

Description: Time up to which the quotes were included into bars,

Note: If there were several with the same time-stamp equal to this time then all are included into the report (UTC). This time is set only for requests with unspecified ‘utc_time’ parameter of message BarRange and only if report contains current (incomplete) bar.

truncated_by_bar_count

Type: bool

Description: Note: It is set only if the number of requested bars exceeded limit.

is_report_complete

Type: bool

Default: true

Description: Note: True means that requested data is complete at the moment, false means more report messages are expected for completeness.

reached_start_of_data

Type: bool

Description: Note: True means that we reached start of data that we store for this contract. Earlier data is not available.

constant_volume_bars

Type: ConstantVolumeBar

Description: Constant volume bars.

point_and_figure_bars

Type: PointAndFigureBar

Description: Point and figure bars.

renko_bars

Type: RenkoBar

Description: Renko bars.

range_bars

Type: RangeBar

Description: Range bars.

tick_bars

Type: TickBar

Description: Tick bars.