dxFeed Graal CXX API v9.0.0
Loading...
Searching...
No Matches
NuamTimeInForceType Struct Reference

Type of Time in Force for the orders on the Nuam Market. More...

#include <NuamTimeInForceType.hpp>

Inheritance diagram for NuamTimeInForceType:

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< NuamTimeInForceType, 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 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).

Additional Inherited Members

Static Public Member Functions inherited from Enum< NuamTimeInForceType, std::uint32_t >
static const NuamTimeInForceType & valueOf (OtherCodeType code) noexcept
 Returns enum element by integer code bit pattern.
Protected Member Functions inherited from Enum< NuamTimeInForceType, std::uint32_t >
constexpr Enum (OtherCodeType code, std::string_view name) noexcept
 Creates an element of the enum.

Detailed Description

Type of Time in Force for the orders on the Nuam Market.

Java: NuamTimeInForceType

Member Function Documentation

◆ Enum()

template<Integral OtherCodeType>
Enum< Child, Code >::Enum ( OtherCodeType code,
std::string_view name )
inlineconstexprnoexcept

Creates an element of the enum.

Parameters
codeThe element code.
nameThe element name with static storage duration (a string literal).

Member Data Documentation

◆ FILL_OR_KILL

const NuamTimeInForceType NuamTimeInForceType::FILL_OR_KILL {4, "FILL_OR_KILL"}
staticconstinit

In continuous matching the order will execute upon reception but never added to the order book.

The difference compared to NuamTimeInForceType::IMMEDIATE_OR_CANCEL is this order must execute in full.

◆ GOOD_TIL_SESSION

const NuamTimeInForceType NuamTimeInForceType::GOOD_TIL_SESSION {5, "GOOD_TIL_SESSION"}
staticconstinit

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

const NuamTimeInForceType NuamTimeInForceType::IMMEDIATE_OR_CANCEL {3, "IMMEDIATE_OR_CANCEL"}
staticconstinit

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

const NuamTimeInForceType NuamTimeInForceType::NUMBER_OF_DAYS {6, "NUMBER_OF_DAYS"}
staticconstinit

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.