TradingSessionStatus#

struct TradingSessionStatus#

FIX TradingSessionStatus <h> message.

The Trading Session Status <h> provides 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>

std::string_view trading_session_id#

TradingSessionID <336> (required)

bool unsolicited_indicator = false#

UnsolicitedIndicator <325>

roq::fix::TradSesStatus trad_ses_status = {}#

TradSesStatus <340>

roq::fix::TradSesStatusRejReason trad_ses_status_rej_reason = {}#

TradSesStatusRejReason <567>

std::string_view text#

Text <58>

Public Static Functions

static TradingSessionStatus create(roq::fix::Message const&, std::span<std::byte> const &data)#

Decode.