|
dxFeed Graal CXX API v9.0.0
|
Action enum for the Full Order Book (FOB) Orders. More...
#include <OrderAction.hpp>
Public Member Functions | |
| template<Integral OtherCodeType> | |
| constexpr | Enum (OtherCodeType code, std::string_view name) noexcept |
| Creates an element of the enum. | |
| Public Member Functions inherited from Enum< OrderAction, std::uint32_t > | |
| constexpr std::uint32_t | getCode () const noexcept |
| Returns code that is used in flag bits. | |
| std::string | getName () const |
| Returns the enum element name. | |
| std::string | toString () const |
| Returns a string representation of an enum element. | |
Static Public Attributes | |
| static const DXFCPP_EXPORT OrderAction | UNDEFINED {0, "UNDEFINED"} |
| Default enum value for orders that do not support "Full Order Book" and for backward compatibility - action must be derived from other Order fields. | |
| static const DXFCPP_EXPORT OrderAction | NEW {1, "NEW"} |
| New Order is added to Order Book. | |
| static const DXFCPP_EXPORT OrderAction | REPLACE {2, "REPLACE"} |
| Order is modified, and price-time-priority is not maintained (i.e. | |
| static const DXFCPP_EXPORT OrderAction | MODIFY {3, "MODIFY"} |
| Order is modified without changing its price-time-priority (usually due to partial cancel by the user). | |
| static const DXFCPP_EXPORT OrderAction | DELETE {4, "DELETE"} |
| Order is fully canceled and removed from Order Book. | |
| static const DXFCPP_EXPORT OrderAction | PARTIAL {5, "PARTIAL"} |
| Size is changed (usually reduced) due to partial order execution. | |
| static const DXFCPP_EXPORT OrderAction | EXECUTE {6, "EXECUTE"} |
| Order is fully executed and removed from the Order Book. | |
| static const DXFCPP_EXPORT OrderAction | TRADE {7, "TRADE"} |
| Non-Book Trade - this Trade not refers to any entry in Order Book. | |
| static const DXFCPP_EXPORT OrderAction | BUST {8, "BUST"} |
| Prior Trade/Order Execution bust. | |
| static const DXFCPP_EXPORT std::span< const std::reference_wrapper< const OrderAction > > | ALL {ALL_ELEMENTS} |
| All elements of the enum (constant-initialized). | |
Additional Inherited Members | |
| Static Public Member Functions inherited from Enum< OrderAction, std::uint32_t > | |
| static const OrderAction & | valueOf (OtherCodeType code) noexcept |
| Returns enum element by integer code bit pattern. | |
| Protected Member Functions inherited from Enum< OrderAction, std::uint32_t > | |
| constexpr | Enum (OtherCodeType code, std::string_view name) noexcept |
| Creates an element of the enum. | |
Action enum for the Full Order Book (FOB) Orders.
Action describes the business meaning of the Order event: whether an order was added or replaced, partially or fully executed, etc.
|
inlineconstexprnoexcept |
Creates an element of the enum.
| code | The element code. |
| name | The element name with static storage duration (a string literal). |
|
staticconstinit |
|
staticconstinit |
|
staticconstinit |
Order is fully executed and removed from the Order Book.
Order's size will be equal to 0.
Full Order Book fields:
|
staticconstinit |
|
staticconstinit |
|
staticconstinit |
Size is changed (usually reduced) due to partial order execution.
Order's size will be updated to show the current outstanding size.
Full Order Book fields:
|
staticconstinit |
|
staticconstinit |
|
staticconstinit |