BetaTrader
A HFT Eco-System
Loading...
Searching...
No Matches
fix::BinaryToMarketDataRequestConverter Class Reference

Converts a raw FIX message string into a MarketDataRequest object. More...

#include <BinaryToMarketDataRequestConverter.h>

Collaboration diagram for fix::BinaryToMarketDataRequestConverter:
Collaboration graph

Static Public Member Functions

static std::optional< MarketDataRequestconvert (const std::string &fixMessage)
 Converts a raw FIX message string into a MarketDataRequest object.
 

Detailed Description

Converts a raw FIX message string into a MarketDataRequest object.

This class provides a static method to parse a FIX "Market Data Request" (MsgType=V) message string and extract the relevant fields to construct a MarketDataRequest.

Member Function Documentation

◆ convert()

std::optional< MarketDataRequest > fix::BinaryToMarketDataRequestConverter::convert ( const std::string &  fixMessage)
static

Converts a raw FIX message string into a MarketDataRequest object.

Parses the given FIX message string. If the message is a valid "Market Data Request" and all required fields are present and correctly formatted, a MarketDataRequest object is returned. Otherwise, std::nullopt is returned.

Parameters
fixMessageThe raw FIX message string to convert.
Returns
An std::optional<MarketDataRequest> containing the parsed market data request if successful, or std::nullopt if parsing fails.
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: