File: WebAPI/trading_session_2.proto
Request for trading day 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/250 trading days by default.
Response: TradingDayTimeRangeReport.
Relates to: SessionInformationRequest, TradingDayTimeRangeRequest.
Type: sint32
Description: ID of a session information from contract metadata.
Source: metadata_2.ContractMetadata.session_info_id.
Type: bool
Description: True if holidays should be included in the response.
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. Trading days with end time > from_utc_time are returned.
Type: sint64
Description: UTC time of end of the time range to get information for. Trading days with start time < to_utc_time are returned.
Type: uint32
Description: Number of trading day 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.