Type of Time in Force for the orders on the Nuam Market.
More...
#include <NuamTimeInForceType.hpp>
|
| template<Integral OtherCodeType> |
| constexpr | Enum (OtherCodeType code, std::string_view name) noexcept |
| | Creates an element of the enum.
|
| 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 const DXFCPP_EXPORT NuamTimeInForceType | UNDEFINED {0, "UNDEFINED"} |
| | The time in force type is undefined, unknown or inapplicable.
|
|
static const DXFCPP_EXPORT NuamTimeInForceType | REST_OF_DAY {1, "REST_OF_DAY"} |
| | The order will expire at the end of the day it was entered.
|
|
static const DXFCPP_EXPORT NuamTimeInForceType | GTC {2, "GTC"} |
| | The order will rest on the order book until it is cancelled or fully executed.
|
| static const DXFCPP_EXPORT NuamTimeInForceType | IMMEDIATE_OR_CANCEL {3, "IMMEDIATE_OR_CANCEL"} |
| | In continuous matching the order will execute upon reception but never added to the order book.
|
| static const DXFCPP_EXPORT NuamTimeInForceType | FILL_OR_KILL {4, "FILL_OR_KILL"} |
| | In continuous matching the order will execute upon reception but never added to the order book.
|
| static const DXFCPP_EXPORT NuamTimeInForceType | GOOD_TIL_SESSION {5, "GOOD_TIL_SESSION"} |
| | The order will expire at the end of the specified session.
|
| static const DXFCPP_EXPORT NuamTimeInForceType | NUMBER_OF_DAYS {6, "NUMBER_OF_DAYS"} |
| | The order will expire after the defined number of days where the day the order is entered is counted as one day.
|
|
static const DXFCPP_EXPORT std::span< const std::reference_wrapper< const NuamTimeInForceType > > | ALL |
| | All elements of the enum (constant-initialized).
|
|
| static const NuamTimeInForceType & | valueOf (OtherCodeType code) noexcept |
| | Returns enum element by integer code bit pattern.
|
| constexpr | Enum (OtherCodeType code, std::string_view name) noexcept |
| | Creates an element of the enum.
|
Type of Time in Force for the orders on the Nuam Market.
Java: NuamTimeInForceType
◆ Enum()
template<Integral OtherCodeType>
| Enum< Child, Code >::Enum |
( |
OtherCodeType | code, |
|
|
std::string_view | name ) |
|
inlineconstexprnoexcept |
Creates an element of the enum.
- Parameters
-
| code | The element code. |
| name | The element name with static storage duration (a string literal). |
◆ FILL_OR_KILL
◆ GOOD_TIL_SESSION
The order will expire at the end of the specified session.
This time in force type will utilise the additional field for defining the session id.
◆ IMMEDIATE_OR_CANCEL
In continuous matching the order will execute upon reception but never added to the order book.
In an auction period it will be added to the order book in order to participate in the next uncross.
◆ NUMBER_OF_DAYS
The order will expire after the defined number of days where the day the order is entered is counted as one day.
This time in force type will utilise the additional field for defining the number of days.