Message: SessionTimeRangeRequest

File: WebAPI/trading_session_2.proto

Description

Request for session open/close times.

Limits:

1.  The number of simultaneous requests in processing is 10 by default.

2.  The request range is limited to 1 year/1000 sessions by default.

Response: SessionTimeRangeReport.

Relates to: SessionInformationRequest, TradingDayTimeRangeRequest.

Used in

InformationRequest

Fields

session_info_id

Type: sint32

Description: ID of a session information from contract metadata.

Source: metadata_2.ContractMetadata.session_info_id.

from_utc_time

Type: sint64

Description: Exactly two of the next three fields must be set: UTC time of start of the time range to get information for. Sessions with post-close time > from_utc_time are returned.

to_utc_time

Type: sint64

Description: UTC time of end of the time range to get information for. Sessions with pre-open time < to_utc_time are returned.

count

Type: uint32

Description: Number of session timeranges to return. If used with from_utc_time then it is the number of timeranges to return starting from that time. If used with to_utc_time then it is the number of timeranges to return preceding that time.