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

Type of orders on the Nuam Market. More...

#include <NuamOrderType.hpp>

Inheritance diagram for NuamOrderType:

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< NuamOrderType, 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 NuamOrderType UNDEFINED {0, "UNDEFINED"}
 The order type is undefined, unknown or inapplicable.
static const DXFCPP_EXPORT NuamOrderType LIMIT {1, "LIMIT"}
 The order must execute within a limit price.
static const DXFCPP_EXPORT NuamOrderType MARKET {2, "MARKET"}
 The order can execute at any price.
static const DXFCPP_EXPORT NuamOrderType MARKET_TO_LIMIT {3, "MARKET_TO_LIMIT"}
 The order is first executed as a market order.
static const DXFCPP_EXPORT NuamOrderType BEST_ORDER {4, "BEST_ORDER"}
 The order is entered without a price and if there is a best price on the same side of the order book (BBO), the order will be given this price and added to the order book.
static const DXFCPP_EXPORT NuamOrderType IMBALANCE {5, "IMBALANCE"}
 Imbalance orders only participate in auctions and only of there is a surplus on the same side as the imbalance order.
static const DXFCPP_EXPORT std::span< const std::reference_wrapper< const NuamOrderType > > ALL {ALL_ELEMENTS}
 All elements of the enum (constant-initialized).

Additional Inherited Members

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

Detailed Description

Type of orders on the Nuam Market.

Java: NuamOrderType

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

◆ IMBALANCE

const NuamOrderType NuamOrderType::IMBALANCE {5, "IMBALANCE"}
staticconstinit

Imbalance orders only participate in auctions and only of there is a surplus on the same side as the imbalance order.

Imbalance orders are not part of the EP calculation.

◆ MARKET_TO_LIMIT

const NuamOrderType NuamOrderType::MARKET_TO_LIMIT {3, "MARKET_TO_LIMIT"}
staticconstinit

The order is first executed as a market order.

If it cannot be fully executed, any remaining quantity is then converted into a limit order, with the execution price serving as the limit.