struct TestRequest#

FIX TestRequest <1> message.

The Test Request <1> message forces a heartbeat from the opposing application. The Test Request <1> message checks sequence numbers or verifies communication line status. The opposite application responds to the Test Request <1> with a Heartbeat <0> containing the TestReqID <112>.

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&)#