struct TradingSessionStatusRequest#

FIX TradingSessionStatusRequest <g> message.

The Trading Session Status Request <g> is used to request information on the status of a market. With the move to multiple sessions occurring for a given trading party (morning and evening sessions for instance) there is a need to be able to provide information on what product is trading on what market.

Public Functions

std::span<std::byte const> encode(roq::fix::Header const&, std::span<std::byte> const &buffer) const#

Encode to buffer.

bool is_valid() const#

Validate if message contains all required fields.

Public Members

std::string_view trad_ses_req_id#

TradSesReqID <335> (required)

std::string_view trading_session_id#

TradingSessionID <336>

roq::fix::SubscriptionRequestType subscription_request_type = {}#

SubscriptionRequestType <263> (required)

Public Static Functions

static TradingSessionStatusRequest create(roq::fix::Message const&)#