|
BetaTrader
A HFT Eco-System
|
Converts a raw FIX message string into a ModifyOrderRequest object.
More...
#include <BinaryToModifyOrderRequestConverter.h>

Static Public Member Functions | |
| static std::optional< ModifyOrderRequest > | convert (const std::string &fixMessage) |
Converts a raw FIX message string into a ModifyOrderRequest object. | |
Converts a raw FIX message string into a ModifyOrderRequest object.
This class provides a static method to parse a FIX "Order Cancel Replace
Request" (MsgType=G) message string and extract the relevant fields to construct a ModifyOrderRequest.
|
static |
Converts a raw FIX message string into a ModifyOrderRequest object.
Parses the given FIX message string. If the message is a valid "Order
Cancel Replace Request" and all required fields are present and correctly formatted, a ModifyOrderRequest object is returned. Otherwise, std::nullopt is returned.
| fixMessage | The raw FIX message string to convert. |
std::optional<ModifyOrderRequest> containing the parsed modify order request if successful, or std::nullopt if parsing fails. 
