struct TestRequest#

FIX TestRequest <1> message.

This message can be sent by either side to verify the connection. The frequency must have been communicated through the :code:Logon (:code:A) messages.

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 test_req_id#

TestReqId <112> (required)

Public Static Functions

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