|
BetaTrader
A HFT Eco-System
|
#include <array>#include <cstdint>#include <stdexcept>#include <string_view>

Go to the source code of this file.
Namespaces | |
| namespace | trading_core |
Enumerations | |
| enum class | trading_core::CommandType : uint8_t { trading_core::NewOrder , trading_core::CancelOrder , trading_core::ModifyOrder , trading_core::COUNT } |
| Represents the different types of commands that can be processed by the trading engine. More... | |
Functions | |
| CommandType | trading_core::from_string (std::string_view name) |
| Converts a string to its corresponding CommandType enum. | |
| std::string | trading_core::to_string (CommandType type) |
| Converts a CommandType enum to its string representation. | |
Variables | |
| constexpr std::array< std::string_view, static_cast< size_t >(CommandType::COUNT)> | trading_core::command_type_names = {"NewOrder", "CancelOrder", "ModifyOrder"} |
| An array of string representations for the CommandType enum. | |