Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
Loading...
Searching...
No Matches
slick::sim::order_gateway::ParseResult Struct Reference

#include <order_gateway/message_parser.hpp>

Collaboration diagram for slick::sim::order_gateway::ParseResult:

Public Member Functions

bool has_order () const
bool has_response () const
bool has_error () const

Public Attributes

std::optional< Order > order
std::optional< OrderResponse > response
std::string error_message
bool is_complete_message = false

Detailed Description

Definition at line 19 of file message_parser.hpp.

Member Function Documentation

◆ has_error()

bool slick::sim::order_gateway::ParseResult::has_error ( ) const
inline

Definition at line 27 of file message_parser.hpp.

References error_message.

◆ has_order()

bool slick::sim::order_gateway::ParseResult::has_order ( ) const
inline

Definition at line 25 of file message_parser.hpp.

References order.

Referenced by slick::sim::order_gateway::FixParser::parse_message().

◆ has_response()

bool slick::sim::order_gateway::ParseResult::has_response ( ) const
inline

Definition at line 26 of file message_parser.hpp.

References response.

Member Data Documentation

◆ error_message

std::string slick::sim::order_gateway::ParseResult::error_message

◆ is_complete_message

bool slick::sim::order_gateway::ParseResult::is_complete_message = false

◆ order

std::optional<Order> slick::sim::order_gateway::ParseResult::order

◆ response

std::optional<OrderResponse> slick::sim::order_gateway::ParseResult::response

Definition at line 21 of file message_parser.hpp.

Referenced by has_response().


The documentation for this struct was generated from the following file: