|
dxFeed Graal CXX API v9.0.0
|
Represents an extension of Order for the symbols traded on the Nuam Exchange. More...
#include <NuamOrder.hpp>
Public Types | |
| using | Ptr = std::shared_ptr<NuamOrder> |
| The alias to a type of shared pointer to the NuamOrder object. | |
| using | Unique = std::unique_ptr<NuamOrder> |
| The alias to a type of unique pointer to the NuamOrder object. | |
| Public Types inherited from Order | |
| using | Ptr = std::shared_ptr<Order> |
| The alias to a type of shared pointer to the Order object. | |
| using | Unique = std::unique_ptr<Order> |
| The alias to a type of unique pointer to the Order object. | |
| Public Types inherited from MarketEvent | |
| using | Ptr = std::shared_ptr<MarketEvent> |
| The alias to a type of shared pointer to the MarketEvent object. | |
| Public Types inherited from EventTypeWithSymbol< std::string > | |
| using | Ptr = std::shared_ptr<EventTypeWithSymbol<std::string>> |
| The alias to a type of shared pointer to the EventTypeWithSymbol's child object. | |
| Public Types inherited from EventType | |
| using | Ptr = std::shared_ptr<EventType> |
| The alias to a type of shared pointer to the EventType object. | |
| Public Types inherited from SharedEntity | |
| using | Ptr = std::shared_ptr<SharedEntity> |
| The alias to a type of shared pointer to the SharedEntity object. | |
| Public Types inherited from IndexedEvent | |
| using | Ptr = std::shared_ptr<IndexedEvent> |
| The alias to a type of shared pointer to the IndexedEvent object. | |
Public Member Functions | |
| void * | toGraal () const override |
| Allocates memory for the dxFeed Graal SDK structure (recursively if necessary). | |
| void | assign (std::shared_ptr< EventType > event) override |
| Replaces the contents of the event. | |
| NuamOrder () noexcept | |
| Creates new Nuam order event with default values. | |
| NuamOrder (StringParam eventSymbol) | |
| Creates new Nuam order event with the specified event symbol. | |
| NuamOrder & | withEventSymbol (StringParam eventSymbol) override |
| Changes the event's symbol and returns the current Nuam order. | |
| NuamOrder & | withEventTime (std::int64_t eventTime) noexcept override |
| Changes event's creation time and returns the current Nuam order. | |
| NuamOrder & | withSource (const OrderSource &source) noexcept override |
| Changes event's source and returns the current Nuam order. | |
| NuamOrder & | withEventFlags (std::int32_t eventFlags) noexcept override |
| Changes transactional event flags and returns the current Nuam order. | |
| NuamOrder & | withEventFlags (const EventFlagsMask &eventFlags) noexcept override |
| Changes transactional event flags and returns the current Nuam order. | |
| NuamOrder & | withIndex (std::int64_t index) override |
| Changes unique per-symbol index of this Nuam order and returns it. | |
| NuamOrder & | withTime (std::int64_t time) noexcept override |
| Changes time of this Nuam order and returns it. | |
| NuamOrder & | withTimeNanoPart (std::int32_t timeNanoPart) noexcept override |
| Changes microseconds and nanoseconds time part of this Nuam order. | |
| NuamOrder & | withSequence (std::int32_t sequence) override |
| Changes sequence number of this Nuam order. | |
| NuamOrder & | withTimeNanos (std::int64_t timeNanos) noexcept override |
| Changes time of this Nuam order and returns it. | |
| NuamOrder & | withAction (const OrderAction &action) noexcept override |
| Changes an action of this Nuam order and returns it. | |
| NuamOrder & | withActionTime (std::int64_t actionTime) noexcept override |
| Changes time of the last action and returns current Nuam order. | |
| NuamOrder & | withOrderId (std::int64_t orderId) noexcept override |
| Changes order ID. | |
| NuamOrder & | withAuxOrderId (std::int64_t auxOrderId) noexcept override |
| Changes auxiliary order ID. | |
| NuamOrder & | withPrice (double price) noexcept override |
| Changes price of this Nuam order. | |
| NuamOrder & | withSize (double size) noexcept override |
| Changes size of this Nuam order. | |
| NuamOrder & | withExecutedSize (double executedSize) noexcept override |
| Changes executed size of this Nuam order. | |
| NuamOrder & | withCount (std::int64_t count) noexcept override |
| Changes a number of individual orders in this aggregate order. | |
| NuamOrder & | withTradeId (std::int64_t tradeId) noexcept override |
| Changes trade ID. | |
| NuamOrder & | withTradePrice (double tradePrice) noexcept override |
| Changes trade price. | |
| NuamOrder & | withTradeSize (double tradeSize) noexcept override |
| Changes trade size. | |
| NuamOrder & | withExchangeCode (char exchangeCode) override |
| Changes exchange code of this Nuam order. | |
| NuamOrder & | withExchangeCode (std::int16_t exchangeCode) override |
| Changes exchange code of this Nuam order. | |
| NuamOrder & | withOrderSide (const Side &side) noexcept override |
| Changes side of this Nuam order. | |
| NuamOrder & | withScope (const Scope &scope) noexcept override |
| Changes scope of this Nuam order. | |
| NuamOrder & | withMarketMaker (StringParam marketMaker) override |
| Changes market maker or other aggregate identifier of this Nuam order. | |
| template<OptionalString S> | |
| NuamOrder & | withMarketMaker (S &&marketMaker) noexcept |
| Changes the market maker or the other aggregate identifier of this order, or makes it null with std::nullopt. | |
| std::int32_t | getActorId () const noexcept |
| Returns the actor identifier for the user sending the request. | |
| void | setActorId (std::int32_t actorId) noexcept |
| Changes the actor identifier for the user sending the request. | |
| NuamOrder & | withActorId (std::int32_t actorId) noexcept |
| Changes the actor identifier for the user sending the request. | |
| std::int32_t | getParticipantId () const noexcept |
| Returns the ID of the participant the actor belongs to. | |
| void | setParticipantId (std::int32_t participantId) noexcept |
| Changes the ID of the participant the actor belongs to. | |
| NuamOrder & | withParticipantId (std::int32_t participantId) noexcept |
| Changes the ID of the participant the actor belongs to. | |
| std::int32_t | getSubmitterId () const noexcept |
| Returns the ID of the actor that submitted the message that changed the order. | |
| void | setSubmitterId (std::int32_t submitterId) noexcept |
| Changes the ID of the actor that submitted the message that changed the order. | |
| NuamOrder & | withSubmitterId (std::int32_t submitterId) noexcept |
| Changes the ID of the actor that submitted the message that changed the order. | |
| std::int32_t | getOnBehalfOfSubmitterId () const noexcept |
| Returns the ID of the actor that submitted the order message on behalf of someone else. | |
| void | setOnBehalfOfSubmitterId (std::int32_t onBehalfOfSubmitterId) noexcept |
| Changes the ID of the actor that submitted the order message on behalf of someone else. | |
| NuamOrder & | withOnBehalfOfSubmitterId (std::int32_t onBehalfOfSubmitterId) noexcept |
| Changes the ID of the actor that submitted the order message on behalf of someone else. | |
| const std::string & | getClientOrderId () const &noexcept |
| Returns the client-generated order identity. | |
| const std::optional< std::string > & | getClientOrderIdOpt () const &noexcept |
| Returns the client-generated order identity. | |
| void | setClientOrderId (StringParam clientOrderId) |
| Changes the client-generated order identity. | |
| template<OptionalString S> | |
| void | setClientOrderId (S &&clientOrderId) noexcept |
| Changes the client-generated order identity, or makes it null with std::nullopt. | |
| NuamOrder & | withClientOrderId (StringParam clientOrderId) |
| Changes the client-generated order identity. | |
| template<OptionalString S> | |
| NuamOrder & | withClientOrderId (S &&clientOrderId) noexcept |
| Changes the client-generated order identity, or makes it null with std::nullopt. | |
| const std::string & | getCustomerAccount () const &noexcept |
| Returns the account to use for this order. | |
| const std::optional< std::string > & | getCustomerAccountOpt () const &noexcept |
| Returns the account to use for this order. | |
| void | setCustomerAccount (StringParam customerAccount) |
| Changes the account to use for this order. | |
| template<OptionalString S> | |
| void | setCustomerAccount (S &&customerAccount) noexcept |
| Changes the account to use for this order, or makes it null with std::nullopt. | |
| NuamOrder & | withCustomerAccount (StringParam customerAccount) |
| Changes the account to use for this order. | |
| template<OptionalString S> | |
| NuamOrder & | withCustomerAccount (S &&customerAccount) noexcept |
| Changes the account to use for this order, or makes it null with std::nullopt. | |
| const std::string & | getCustomerInfo () const &noexcept |
| Returns the free-text information filled in by the client entering the transaction. | |
| const std::optional< std::string > & | getCustomerInfoOpt () const &noexcept |
| Returns the free-text information filled in by the client entering the transaction. | |
| void | setCustomerInfo (StringParam customerInfo) |
| Changes the free-text information filled in by the client entering the transaction. | |
| template<OptionalString S> | |
| void | setCustomerInfo (S &&customerInfo) noexcept |
| Changes the free-text information filled in by the client, or makes it null with std::nullopt. | |
| NuamOrder & | withCustomerInfo (StringParam customerInfo) |
| Changes the free-text information filled in by the client entering the transaction. | |
| template<OptionalString S> | |
| NuamOrder & | withCustomerInfo (S &&customerInfo) noexcept |
| Changes the free-text information filled in by the client, or makes it null with std::nullopt. | |
| const std::string & | getExchangeInfo () const &noexcept |
| Returns the exchange-specific information that can be included with an order (it may contain unprintable characters). | |
| const std::optional< std::string > & | getExchangeInfoOpt () const &noexcept |
| Returns the exchange-specific information that can be included with an order (it may contain unprintable characters). | |
| void | setExchangeInfo (StringParam exchangeInfo) |
| Changes the exchange-specific information that can be included with an order (it may contain unprintable characters). | |
| template<OptionalString S> | |
| void | setExchangeInfo (S &&exchangeInfo) noexcept |
| Changes the exchange-specific information of the order, or makes it null with std::nullopt. | |
| NuamOrder & | withExchangeInfo (StringParam exchangeInfo) |
| Changes the exchange-specific information that can be included with an order (it may contain unprintable characters). | |
| template<OptionalString S> | |
| NuamOrder & | withExchangeInfo (S &&exchangeInfo) noexcept |
| Changes the exchange-specific information of the order, or makes it null with std::nullopt. | |
| const NuamTimeInForceType & | getTimeInForce () const &noexcept |
| Returns the time in force of this order, that is how long the order remains active in the order book if it is not fully executed. | |
| void | setTimeInForce (const NuamTimeInForceType &timeInForce) noexcept |
| Changes the time in force of this order, that is how long the order remains active in the order book if it is not fully executed. | |
| NuamOrder & | withTimeInForce (const NuamTimeInForceType &timeInForce) noexcept |
| Changes the time in force of this order, that is how long the order remains active in the order book if it is not fully executed. | |
| std::int32_t | getTimeInForceData () const noexcept |
| Returns the additional data of the time in force, used for the time validities that require it. | |
| void | setTimeInForceData (std::int32_t timeInForceData) noexcept |
| Changes the additional data of the time in force, used for the time validities that require it. | |
| NuamOrder & | withTimeInForceData (std::int32_t timeInForceData) noexcept |
| Changes the additional data of the time in force, used for the time validities that require it. | |
| std::int32_t | getTriggerOrderBookId () const noexcept |
| Returns the ID of the order book the order will trigger on. | |
| void | setTriggerOrderBookId (std::int32_t triggerOrderBookId) noexcept |
| Changes the ID of the order book the order will trigger on. | |
| NuamOrder & | withTriggerOrderBookId (std::int32_t triggerOrderBookId) noexcept |
| Changes the ID of the order book the order will trigger on. | |
| double | getTriggerPrice () const noexcept |
| Returns the trigger price of the order. | |
| void | setTriggerPrice (double triggerPrice) noexcept |
| Changes the trigger price of the order. | |
| NuamOrder & | withTriggerPrice (double triggerPrice) noexcept |
| Changes the trigger price of the order. | |
| std::int32_t | getTriggerSessionType () const noexcept |
| Returns the session type to trigger on. | |
| void | setTriggerSessionType (std::int32_t triggerSessionType) noexcept |
| Changes the session type to trigger on. | |
| NuamOrder & | withTriggerSessionType (std::int32_t triggerSessionType) noexcept |
| Changes the session type to trigger on. | |
| const NuamOrderType & | getOrderType () const &noexcept |
| Returns the type of this order: limit, market, best order, etc. | |
| void | setOrderType (const NuamOrderType &orderType) noexcept |
| Changes the type of this order: limit, market, best order, etc. | |
| NuamOrder & | withOrderType (const NuamOrderType &orderType) noexcept |
| Changes the type of this order: limit, market, best order, etc. | |
| double | getOrderQuantity () const noexcept |
| Returns the initial quantity of the order when it was entered (it can be changed later if the order is amended). | |
| void | setOrderQuantity (double orderQuantity) noexcept |
| Changes the initial quantity of the order when it was entered (it can be changed later if the order is amended). | |
| NuamOrder & | withOrderQuantity (double orderQuantity) noexcept |
| Changes the initial quantity of the order when it was entered (it can be changed later if the order is amended). | |
| double | getDisplayQuantity () const noexcept |
| Returns the actual display quantity of a reserve order at the end of the transaction. | |
| void | setDisplayQuantity (double displayQuantity) noexcept |
| Changes the actual display quantity of a reserve order at the end of the transaction. | |
| NuamOrder & | withDisplayQuantity (double displayQuantity) noexcept |
| Changes the actual display quantity of a reserve order at the end of the transaction. | |
| double | getRefreshQuantity () const noexcept |
| Returns the initial display quantity of a reserve order. | |
| void | setRefreshQuantity (double refreshQuantity) noexcept |
| Changes the initial display quantity of a reserve order. | |
| NuamOrder & | withRefreshQuantity (double refreshQuantity) noexcept |
| Changes the initial display quantity of a reserve order. | |
| double | getLeavesQuantity () const noexcept |
| Returns the remaining (open) quantity of the order. | |
| void | setLeavesQuantity (double leavesQuantity) noexcept |
| Changes the remaining (open) quantity of the order. | |
| NuamOrder & | withLeavesQuantity (double leavesQuantity) noexcept |
| Changes the remaining (open) quantity of the order. | |
| double | getMatchedQuantity () const noexcept |
| Returns the matched quantity within the transaction that updated the order. | |
| void | setMatchedQuantity (double matchedQuantity) noexcept |
| Changes the matched quantity within the transaction that updated the order. | |
| NuamOrder & | withMatchedQuantity (double matchedQuantity) noexcept |
| Changes the matched quantity within the transaction that updated the order. | |
| std::string | toString () const override |
| Returns a string representation of the current object. | |
| Public Member Functions inherited from Order | |
| void * | toGraal () const override |
| Allocates memory for the dxFeed Graal SDK structure (recursively if necessary). | |
| void | assign (std::shared_ptr< EventType > event) override |
| Replaces the contents of the event. | |
| Order () noexcept | |
| Creates new order event with default values. | |
| Order (StringParam eventSymbol) | |
| Creates a new order event with the specified event symbol. | |
| const std::string & | getMarketMaker () const &noexcept |
| Returns market maker or other aggregate identifier of this order. | |
| const std::optional< std::string > & | getMarketMakerOpt () const &noexcept |
| Returns market maker or other aggregate identifier of this order. | |
| void | setMarketMaker (StringParam marketMaker) |
| Changes market maker or other aggregate identifier of this order. | |
| template<OptionalString S> | |
| void | setMarketMaker (S &&marketMaker) noexcept |
| Changes the market maker or the other aggregate identifier of this order, or makes it null with std::nullopt. | |
| template<OptionalString S> | |
| Order & | withMarketMaker (S &&marketMaker) noexcept |
| Changes the market maker or the other aggregate identifier of this order, or makes it null with std::nullopt. | |
| std::string | toString () const override |
| Returns a string representation of the current object. | |
| Public Member Functions inherited from OrderBase | |
| void | assign (std::shared_ptr< EventType > event) override |
| Replaces the contents of the event. | |
| OrderBase () noexcept | |
| Creates new order event with default values. | |
| OrderBase (StringParam eventSymbol) | |
| Creates a new order event with the specified event symbol. | |
| const OrderSource & | getSource () const &override |
| Returns source of this event. | |
| void | setSource (const OrderSource &source) noexcept |
| Changes source of this event. | |
| std::int32_t | getEventFlags () const noexcept override |
| Returns transactional event flags. | |
| EventFlagsMask | getEventFlagsMask () const noexcept override |
| Returns transactional event flags. | |
| void | setEventFlags (std::int32_t eventFlags) noexcept override |
| Changes transactional event flags. | |
| void | setEventFlags (const EventFlagsMask &eventFlags) noexcept override |
| Changes transactional event flags. | |
| void | setIndex (std::int64_t index) override |
| Changes the unique per-symbol index of this order. | |
| std::int64_t | getIndex () const noexcept override |
| Returns a unique per-symbol index of this order. | |
| std::int64_t | getTimeSequence () const noexcept |
| Returns time and sequence of this order packaged into a single long value. | |
| void | setTimeSequence (std::int64_t timeSequence) noexcept |
| Changes time and sequence of this order. | |
| std::int64_t | getTime () const noexcept |
| Returns time of this order. | |
| void | setTime (std::int64_t time) noexcept |
| Changes time of this order. | |
| void | setTimeNanoPart (std::int32_t timeNanoPart) noexcept |
| Changes microseconds and nanoseconds time part of this order. | |
| std::int32_t | getTimeNanoPart () const noexcept |
| Returns microseconds and nanoseconds time part of this order. | |
| std::int32_t | getSequence () const noexcept |
| Returns sequence number of this order to distinguish orders that have the same time. | |
| void | setSequence (std::int32_t sequence) |
| Changes sequence number of this order. | |
| std::int64_t | getTimeNanos () const noexcept |
| Returns time of this order in nanoseconds. | |
| void | setTimeNanos (std::int64_t timeNanos) noexcept |
| Changes time of this order. | |
| const OrderAction & | getAction () const &noexcept |
| Returns order action if available, otherwise - OrderAction::UNDEFINED. | |
| void | setAction (const OrderAction &action) noexcept |
| Changes action of this order. | |
| std::int64_t | getActionTime () const noexcept |
| Returns time of the last action. | |
| void | setActionTime (std::int64_t actionTime) noexcept |
| Changes time of the last action. | |
| std::int64_t | getOrderId () const noexcept |
| Returns order ID if available. | |
| void | setOrderId (std::int64_t orderId) noexcept |
| Changes order ID. | |
| std::int64_t | getAuxOrderId () const noexcept |
| Returns auxiliary order ID if available: | |
| void | setAuxOrderId (std::int64_t auxOrderId) noexcept |
| Changes auxiliary order ID. | |
| double | getPrice () const noexcept |
| Returns price of this order. | |
| void | setPrice (double price) noexcept |
| Changes price of this order. | |
| double | getSize () const noexcept |
| Returns size of this order. | |
| void | setSize (double size) noexcept |
| Changes size of this order. | |
| bool | hasSize () const noexcept |
| Returns true if this order has some size (sizeAsDouble is neither 0 nor NaN). | |
| double | getExecutedSize () const noexcept |
| Returns executed size of this order. | |
| void | setExecutedSize (double executedSize) noexcept |
| Changes executed size of this order. | |
| std::int64_t | getCount () const noexcept |
| Returns the number of individual orders in this aggregate order. | |
| void | setCount (std::int64_t count) noexcept |
| Changes the number of individual orders in this aggregate order. | |
| std::int64_t | getTradeId () const noexcept |
| Returns trade (order execution) ID for events containing trade-related action. | |
| void | setTradeId (std::int64_t tradeId) noexcept |
| Changes trade ID. | |
| double | getTradePrice () const noexcept |
| Returns trade price for events containing trade-related action. | |
| void | setTradePrice (double tradePrice) noexcept |
| Changes trade price. | |
| double | getTradeSize () const noexcept |
| Returns trade size for events containing trade-related action. | |
| void | setTradeSize (double tradeSize) noexcept |
| Changes trade size. | |
| std::int16_t | getExchangeCode () const noexcept |
| Returns exchange code of this order. | |
| std::string | getExchangeCodeString () const noexcept |
| Returns exchange code of this order as UTF8 string. | |
| void | setExchangeCode (char exchangeCode) |
| Changes exchange code of this order. | |
| void | setExchangeCode (std::int16_t exchangeCode) |
| Changes exchange code of this order. | |
| const Side & | getOrderSide () const &noexcept |
| Returns side of this order. | |
| void | setOrderSide (const Side &side) noexcept |
| Changes side of this order. | |
| const Scope & | getScope () const &noexcept |
| Returns scope of this order. | |
| void | setScope (const Scope &scope) noexcept |
| Changes scope of this order. | |
| std::string | baseFieldsToString () const |
| Returns string representation of this order event's fields. | |
| Public Member Functions inherited from MarketEvent | |
| const std::string & | getEventSymbol () const &noexcept override |
| Returns a symbol of this event. | |
| const std::optional< std::string > & | getEventSymbolOpt () const &noexcept override |
| Returns a symbol of this event. | |
| void | setEventSymbol (StringParam eventSymbol) override |
| Changes symbol of this event. | |
| std::int64_t | getEventTime () const noexcept override |
| Returns time when an event was created or zero when time is not available. | |
| void | setEventTime (std::int64_t eventTime) noexcept override |
| Changes event creation time. | |
| Public Member Functions inherited from SharedEntity | |
| template<typename T> | |
| bool | is () const noexcept |
| Checks that the object is of type T: its dynamic type is T or derived from T. | |
| template<typename T> | |
| std::shared_ptr< T > | sharedAs () noexcept |
| Returns a pointer to the current object wrapped in a smart pointer to type T or std::shared_ptr<T>{nullptr} if the object is not managed by std::shared_ptr. | |
| template<typename T> | |
| std::shared_ptr< T > | sharedAs () const noexcept |
| Returns a pointer to the current object wrapped in a smart pointer to type T or std::shared_ptr<T>{nullptr} if the object is not managed by std::shared_ptr. | |
| Public Member Functions inherited from Entity | |
| virtual | ~Entity () noexcept |
| The default virtual d-tor. | |
Static Public Member Functions | |
| static Ptr | fromGraal (void *graalNative) |
| Creates an object of the current type and fills it with data from the dxFeed Graal SDK structure. | |
| static void | freeGraal (void *graalNative) |
| Releases the memory occupied by the dxFeed Graal SDK structure (recursively if necessary). | |
| Static Public Member Functions inherited from Order | |
| static Ptr | fromGraal (void *graalNative) |
| Creates an object of the current type and fills it with data from the dxFeed Graal SDK structure. | |
| static void | freeGraal (void *graalNative) |
| Releases the memory occupied by the dxFeed Graal SDK structure (recursively if necessary). | |
Static Public Attributes | |
| static const EventTypeEnum & | TYPE = EventTypeEnum::NUAM_ORDER |
| Type identifier and additional information about the current event class. | |
| Static Public Attributes inherited from Order | |
| static const EventTypeEnum & | TYPE = EventTypeEnum::ORDER |
| Type identifier and additional information about the current event class. | |
| Static Public Attributes inherited from OrderBase | |
| static constexpr std::uint32_t | MAX_SEQUENCE = (1U << 22U) - 1U |
| Maximum allowed sequence value. | |
| Static Public Attributes inherited from IndexedEvent | |
| static const EventFlag | TX_PENDING {0x01u, "TX_PENDING"} |
| 0x01 - A bitmask to get transaction pending indicator from the value of eventFlags property. | |
| static const EventFlag | REMOVE_EVENT {0x02u, "REMOVE_EVENT"} |
| 0x02 - A bitmask to get removal indicator from the value of eventFlags property. | |
| static const EventFlag | SNAPSHOT_BEGIN {0x04u, "SNAPSHOT_BEGIN"} |
| 0x04 - A bitmask to get snapshot begin indicator from the value of eventFlags property. | |
| static const EventFlag | SNAPSHOT_END {0x08u, "SNAPSHOT_END"} |
| 0x08 - A bitmask to get snapshot end indicator from the value of eventFlags property. | |
| static const EventFlag | SNAPSHOT_SNIP {0x10u, "SNAPSHOT_SNIP"} |
| 0x10 - A bitmask to get snapshot snip indicator from the value of eventFlags property. | |
| static const EventFlag | SNAPSHOT_MODE {0x40u, "SNAPSHOT_MODE"} |
| 0x40 - A bitmask to set snapshot mode indicator into the value of eventFlags property. | |
Additional Inherited Members | |
| Protected Member Functions inherited from MarketEvent | |
| MarketEvent (StringParam eventSymbol) | |
| Protected constructor for concrete implementation classes that initializes eventSymbol property. | |
Represents an extension of Order for the symbols traded on the Nuam Exchange.
It is the new Regional Holding that integrates the Santiago, Lima, and Colombia Stock Exchanges into a single market.
It includes the Nuam Exchange internal data, obtained directly from the matching engine, such as additional internal ids, customer additional info, extended matching options, info about triggers, the structure of quantity, etc., see the properties for details.
Java: NuamOrder
Nuam Flags from the Nuam Exchange are mapped to the access methods of this class as follows:
NuamOrder event has all the properties of Order and the following ones:
Nuam order event sources provide a consistent view of the order book. Their updates may incorporate multiple changes to individual orders that have to be processed at the same time. The corresponding information is carried in eventFlags property.
See the "Event Flags" section of OrderBase class documentation for details.
When publishing an order event with DXPublisher::publishEvents() method, least significant 32 bits of order index must be in a range of from 0 to std::numeric_limits<std::int32_t>::max() inclusive. Use ::setSource() method after ::setIndex() to properly include source identifier into the index.
A snapshot has to be published in the descending order of index, starting with an event with the largest index and marking it with EventFlag::SNAPSHOT_BEGIN bit in eventFlags, and finishing the snapshot with an event that has zero 32 least significant bits of index. EventFlag::SNAPSHOT_END bit in eventFlags is optional during publishing. It will be properly set on receiving end anyway.
This event type cannot be used with DXFeed::getLastEvent() method.
This event is implemented on top of QDS records NuamOrder#<source-id>, where <source-id> is up to 4 ASCII characters with a mnemonic for the source like "NUAM".
|
explicit |
Creates new Nuam order event with the specified event symbol.
| eventSymbol | The event symbol. |
|
overridevirtual |
Replaces the contents of the event.
| event | the event to use as a source. |
Reimplemented from MarketEvent.
References Order::assign().
|
static |
Releases the memory occupied by the dxFeed Graal SDK structure (recursively if necessary).
| graalNative | The pointer to the dxFeed Graal SDK structure. |
| InvalidArgumentException |
|
static |
Creates an object of the current type and fills it with data from the dxFeed Graal SDK structure.
| graalNative | The pointer to the dxFeed Graal SDK structure. |
| InvalidArgumentException |
|
noexcept |
Returns the actor identifier for the user sending the request.
|
noexcept |
Returns the client-generated order identity.
|
noexcept |
Returns the client-generated order identity.
|
noexcept |
Returns the account to use for this order.
|
noexcept |
Returns the account to use for this order.
|
noexcept |
Returns the free-text information filled in by the client entering the transaction.
|
noexcept |
Returns the free-text information filled in by the client entering the transaction.
|
noexcept |
Returns the actual display quantity of a reserve order at the end of the transaction.
|
noexcept |
Returns the exchange-specific information that can be included with an order (it may contain unprintable characters).
|
noexcept |
Returns the exchange-specific information that can be included with an order (it may contain unprintable characters).
|
noexcept |
Returns the remaining (open) quantity of the order.
|
noexcept |
Returns the matched quantity within the transaction that updated the order.
|
noexcept |
Returns the ID of the actor that submitted the order message on behalf of someone else.
|
noexcept |
Returns the initial quantity of the order when it was entered (it can be changed later if the order is amended).
|
noexcept |
Returns the type of this order: limit, market, best order, etc.
|
noexcept |
Returns the ID of the participant the actor belongs to.
|
noexcept |
Returns the initial display quantity of a reserve order.
|
noexcept |
Returns the ID of the actor that submitted the message that changed the order.
|
noexcept |
Returns the time in force of this order, that is how long the order remains active in the order book if it is not fully executed.
|
noexcept |
Returns the additional data of the time in force, used for the time validities that require it.
|
noexcept |
Returns the ID of the order book the order will trigger on.
|
noexcept |
Returns the trigger price of the order.
|
noexcept |
Returns the session type to trigger on.
|
noexcept |
Changes the actor identifier for the user sending the request.
| actorId | the actor identifier for the user sending the request. |
|
inlinenoexcept |
Changes the client-generated order identity, or makes it null with std::nullopt.
setClientOrderId(other.getClientOrderIdOpt()) copies it from another event, null included.
| clientOrderId | the client-generated order identity or std::nullopt. |
| void NuamOrder::setClientOrderId | ( | StringParam | clientOrderId | ) |
Changes the client-generated order identity.
| clientOrderId | the client-generated order identity. |
|
inlinenoexcept |
Changes the account to use for this order, or makes it null with std::nullopt.
setCustomerAccount(other.getCustomerAccountOpt()) copies it from another event, null included.
| customerAccount | the account to use for this order or std::nullopt. |
| void NuamOrder::setCustomerAccount | ( | StringParam | customerAccount | ) |
Changes the account to use for this order.
| customerAccount | the account to use for this order. |
|
inlinenoexcept |
Changes the free-text information filled in by the client, or makes it null with std::nullopt.
setCustomerInfo(other.getCustomerInfoOpt()) copies it from another event, null included.
| customerInfo | the free-text information filled in by the client or std::nullopt. |
| void NuamOrder::setCustomerInfo | ( | StringParam | customerInfo | ) |
Changes the free-text information filled in by the client entering the transaction.
| customerInfo | the free-text information filled in by the client entering the transaction. |
|
noexcept |
Changes the actual display quantity of a reserve order at the end of the transaction.
| displayQuantity | the actual display quantity of a reserve order at the end of the transaction. |
|
inlinenoexcept |
Changes the exchange-specific information of the order, or makes it null with std::nullopt.
setExchangeInfo(other.getExchangeInfoOpt()) copies it from another event, null included.
| exchangeInfo | the exchange-specific information of the order or std::nullopt. |
| void NuamOrder::setExchangeInfo | ( | StringParam | exchangeInfo | ) |
Changes the exchange-specific information that can be included with an order (it may contain unprintable characters).
| exchangeInfo | the exchange-specific information that can be included with an order (it may contain unprintable characters). |
|
noexcept |
Changes the remaining (open) quantity of the order.
| leavesQuantity | the remaining (open) quantity of the order. |
|
noexcept |
Changes the matched quantity within the transaction that updated the order.
| matchedQuantity | the matched quantity within the transaction that updated the order. |
|
noexcept |
Changes the ID of the actor that submitted the order message on behalf of someone else.
| onBehalfOfSubmitterId | the ID of the actor that submitted the order message on behalf of someone else. |
|
noexcept |
Changes the initial quantity of the order when it was entered (it can be changed later if the order is amended).
| orderQuantity | the initial quantity of the order when it was entered (it can be changed later if the order is amended). |
|
noexcept |
Changes the type of this order: limit, market, best order, etc.
| orderType | the type of this order: limit, market, best order, etc.. |
|
noexcept |
Changes the ID of the participant the actor belongs to.
| participantId | the ID of the participant the actor belongs to. |
|
noexcept |
Changes the initial display quantity of a reserve order.
| refreshQuantity | the initial display quantity of a reserve order. |
|
noexcept |
Changes the ID of the actor that submitted the message that changed the order.
| submitterId | the ID of the actor that submitted the message that changed the order. |
|
noexcept |
Changes the time in force of this order, that is how long the order remains active in the order book if it is not fully executed.
| timeInForce | the time in force of this order, that is how long the order remains active in the order book if it is not fully executed. |
|
noexcept |
Changes the additional data of the time in force, used for the time validities that require it.
| timeInForceData | the additional data of the time in force, used for the time validities that require it. |
|
noexcept |
Changes the ID of the order book the order will trigger on.
| triggerOrderBookId | the ID of the order book the order will trigger on. |
|
noexcept |
Changes the trigger price of the order.
| triggerPrice | the trigger price of the order. |
|
noexcept |
Changes the session type to trigger on.
| triggerSessionType | the session type to trigger on. |
|
overridevirtual |
Allocates memory for the dxFeed Graal SDK structure (recursively if necessary).
Fills the dxFeed Graal SDK structure's fields by the data of the current entity (recursively if necessary). Returns the pointer to the filled structure.
Implements EventType.
|
overridevirtual |
Returns a string representation of the current object.
Reimplemented from EventType.
|
overridevirtualnoexcept |
Changes an action of this Nuam order and returns it.
| action | The side of this Nuam order. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes time of the last action and returns current Nuam order.
| actionTime | The last order action time. |
Reimplemented from Order.
|
noexcept |
Changes the actor identifier for the user sending the request.
Returns the current Nuam order.
| actorId | the actor identifier for the user sending the request. |
|
overridevirtualnoexcept |
Changes auxiliary order ID.
Returns the current Nuam order.
| auxOrderId | The auxiliary order ID. |
Reimplemented from Order.
|
inlinenoexcept |
Changes the client-generated order identity, or makes it null with std::nullopt.
Returns the current order.
| clientOrderId | the client-generated order identity or std::nullopt. |
| NuamOrder & NuamOrder::withClientOrderId | ( | StringParam | clientOrderId | ) |
Changes the client-generated order identity.
Returns the current Nuam order.
| clientOrderId | the client-generated order identity. |
|
overridevirtualnoexcept |
Changes a number of individual orders in this aggregate order.
Returns the current Nuam order.
| count | The number of individual orders in this aggregate order. |
Reimplemented from Order.
|
inlinenoexcept |
Changes the account to use for this order, or makes it null with std::nullopt.
Returns the current order.
| customerAccount | the account to use for this order or std::nullopt. |
| NuamOrder & NuamOrder::withCustomerAccount | ( | StringParam | customerAccount | ) |
Changes the account to use for this order.
Returns the current Nuam order.
| customerAccount | the account to use for this order. |
|
inlinenoexcept |
Changes the free-text information filled in by the client, or makes it null with std::nullopt.
Returns the current order.
| customerInfo | the free-text information filled in by the client or std::nullopt. |
| NuamOrder & NuamOrder::withCustomerInfo | ( | StringParam | customerInfo | ) |
Changes the free-text information filled in by the client entering the transaction.
Returns the current Nuam order.
| customerInfo | the free-text information filled in by the client entering the transaction. |
|
noexcept |
Changes the actual display quantity of a reserve order at the end of the transaction.
Returns the current Nuam order.
| displayQuantity | the actual display quantity of a reserve order at the end of the transaction. |
|
overridevirtualnoexcept |
Changes transactional event flags and returns the current Nuam order.
See EventFlag "Event Flags" section.
| eventFlags | transactional event flags' mask. |
Reimplemented from Order.
References Order::withEventFlags().
|
overridevirtualnoexcept |
Changes transactional event flags and returns the current Nuam order.
See EventFlag "Event Flags" section.
| eventFlags | transactional event flags. |
Reimplemented from Order.
References Order::withEventFlags().
|
overridevirtual |
Changes the event's symbol and returns the current Nuam order.
| eventSymbol | The symbol of this event. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes event's creation time and returns the current Nuam order.
| eventTime | the difference, measured in milliseconds, between the event creation time and midnight, January 1, 1970 UTC. |
Reimplemented from Order.
|
overridevirtual |
Changes exchange code of this Nuam order.
Returns the current Nuam order.
| exchangeCode | The exchange code of this Nuam order. |
| InvalidArgumentException | if the exchange code is not a 7-bit character. |
Reimplemented from Order.
|
overridevirtual |
Changes exchange code of this Nuam order.
Returns the current Nuam order.
| exchangeCode | The exchange code of this Nuam order. |
| InvalidArgumentException | if the exchange code is not a 7-bit character. |
Reimplemented from Order.
|
inlinenoexcept |
Changes the exchange-specific information of the order, or makes it null with std::nullopt.
Returns the current order.
| exchangeInfo | the exchange-specific information of the order or std::nullopt. |
| NuamOrder & NuamOrder::withExchangeInfo | ( | StringParam | exchangeInfo | ) |
Changes the exchange-specific information that can be included with an order (it may contain unprintable characters).
Returns the current Nuam order.
| exchangeInfo | the exchange-specific information that can be included with an order (it may contain unprintable characters). |
|
overridevirtualnoexcept |
Changes executed size of this Nuam order.
Returns the current Nuam order.
| executedSize | The executed size of this Nuam order. |
Reimplemented from Order.
|
overridevirtual |
Changes unique per-symbol index of this Nuam order and returns it.
Note, that this method also changes source, whose id occupies highest bits of index. Use OrderBase::setSource() after invocation of this method to set the desired value of source.
| index | unique per-symbol index of this Nuam order. |
| InvalidArgumentException | if the index is negative. |
Reimplemented from Order.
|
noexcept |
Changes the remaining (open) quantity of the order.
Returns the current Nuam order.
| leavesQuantity | the remaining (open) quantity of the order. |
|
inlinenoexcept |
Changes the market maker or the other aggregate identifier of this order, or makes it null with std::nullopt.
Returns the current order.
| marketMaker | the market maker or the other aggregate identifier of this order or std::nullopt. |
|
overridevirtual |
Changes market maker or other aggregate identifier of this Nuam order.
Returns the current Nuam order.
| marketMaker | The market maker or another aggregate identifier of this Nuam order. |
Reimplemented from Order.
|
noexcept |
Changes the matched quantity within the transaction that updated the order.
Returns the current Nuam order.
| matchedQuantity | the matched quantity within the transaction that updated the order. |
|
noexcept |
Changes the ID of the actor that submitted the order message on behalf of someone else.
Returns the current Nuam order.
| onBehalfOfSubmitterId | the ID of the actor that submitted the order message on behalf of someone else. |
|
overridevirtualnoexcept |
Changes order ID.
Returns the current Nuam order.
| orderId | The order ID. |
Reimplemented from Order.
|
noexcept |
Changes the initial quantity of the order when it was entered (it can be changed later if the order is amended).
Returns the current Nuam order.
| orderQuantity | the initial quantity of the order when it was entered (it can be changed later if the order is amended). |
Changes side of this Nuam order.
Returns the current Nuam order.
| side | The side of this Nuam order. |
Reimplemented from Order.
|
noexcept |
Changes the type of this order: limit, market, best order, etc.
Returns the current Nuam order.
| orderType | the type of this order: limit, market, best order, etc.. |
|
noexcept |
Changes the ID of the participant the actor belongs to.
Returns the current Nuam order.
| participantId | the ID of the participant the actor belongs to. |
|
overridevirtualnoexcept |
Changes price of this Nuam order.
Returns the current Nuam order.
| price | The price of this Nuam order. |
Reimplemented from Order.
|
noexcept |
Changes the initial display quantity of a reserve order.
Returns the current Nuam order.
| refreshQuantity | the initial display quantity of a reserve order. |
Changes scope of this Nuam order.
Returns the current Nuam order.
| scope | The scope of this Nuam order. |
Reimplemented from Order.
|
overridevirtual |
Changes sequence number of this Nuam order.
Returns the current Nuam order.
| sequence | the sequence. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes size of this Nuam order.
Returns the current Nuam order.
| size | The size of this Nuam order. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes event's source and returns the current Nuam order.
This method changes highest bits of the index of this event.
| source | source of this event. |
Reimplemented from Order.
References Order::withSource().
|
noexcept |
Changes the ID of the actor that submitted the message that changed the order.
Returns the current Nuam order.
| submitterId | the ID of the actor that submitted the message that changed the order. |
|
overridevirtualnoexcept |
Changes time of this Nuam order and returns it.
Time is measured in milliseconds between the current time and midnight, January 1, 1970 UTC.
| time | time of this Nuam order. |
Reimplemented from Order.
|
noexcept |
Changes the time in force of this order, that is how long the order remains active in the order book if it is not fully executed.
Returns the current Nuam order.
| timeInForce | the time in force of this order, that is how long the order remains active in the order book if it is not fully executed. |
|
noexcept |
Changes the additional data of the time in force, used for the time validities that require it.
Returns the current Nuam order.
| timeInForceData | the additional data of the time in force, used for the time validities that require it. |
|
overridevirtualnoexcept |
Changes microseconds and nanoseconds time part of this Nuam order.
Returns the current Nuam order.
| timeNanoPart | microseconds and nanoseconds time part of this Nuam order. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes time of this Nuam order and returns it.
Time is measured in nanoseconds between the current time and midnight, January 1, 1970 UTC.
| timeNanos | The time of this Nuam order in nanoseconds. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes trade ID.
Returns the current Nuam order.
| tradeId | The trade ID. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes trade price.
Returns the current Nuam order.
| tradePrice | The trade price. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes trade size.
Returns the current Nuam order.
| tradeSize | The trade size. |
Reimplemented from Order.
|
noexcept |
Changes the ID of the order book the order will trigger on.
Returns the current Nuam order.
| triggerOrderBookId | the ID of the order book the order will trigger on. |
|
noexcept |
Changes the trigger price of the order.
Returns the current Nuam order.
| triggerPrice | the trigger price of the order. |
|
noexcept |
Changes the session type to trigger on.
Returns the current Nuam order.
| triggerSessionType | the session type to trigger on. |