|
dxFeed Graal CXX API v7.0.0
|
Represents an extension of Order for the symbols traded on the OTC Markets. More...
#include <OtcMarketsOrder.hpp>
Inheritance diagram for OtcMarketsOrder:Public Types | |
| using | Ptr = std::shared_ptr<OtcMarketsOrder> |
| The alias to a type of shared pointer to the OtcMarketsOrder object. | |
| using | Unique = std::unique_ptr<OtcMarketsOrder> |
| The alias to a type of unique pointer to the OtcMarketsOrder 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. | |
| using | Ptr |
| 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. | |
| OtcMarketsOrder () noexcept | |
| Creates new OTC Markets order event with default values. | |
| OtcMarketsOrder (const StringLike &eventSymbol) noexcept | |
| Creates new OTC Markets order event with the specified event symbol. | |
| OtcMarketsOrder & | withEventSymbol (const StringLike &eventSymbol) noexcept override |
| Changes the event's symbol and returns the current OTC Markets order. | |
| OtcMarketsOrder & | withEventTime (std::int64_t eventTime) noexcept override |
| Changes event's creation time and returns the current OTC Markets order. | |
| OtcMarketsOrder & | withSource (const OrderSource &source) noexcept override |
| Changes event's source and returns the current OTC Markets order. | |
| OtcMarketsOrder & | withEventFlags (std::int32_t eventFlags) noexcept override |
| Changes transactional event flags and returns the current OTC Markets order. | |
| OtcMarketsOrder & | withEventFlags (const EventFlagsMask &eventFlags) noexcept override |
| Changes transactional event flags and returns the current OTC Markets order. | |
| OtcMarketsOrder & | withIndex (std::int64_t index) noexcept override |
| Changes unique per-symbol index of this OTC Markets order and returns it. | |
| OtcMarketsOrder & | withTime (std::int64_t time) noexcept override |
| Changes time of this OTC Markets order and returns it. | |
| OtcMarketsOrder & | withTimeNanoPart (std::int32_t timeNanoPart) noexcept override |
| Changes microseconds and nanoseconds time part of this OTC Markets order. | |
| OtcMarketsOrder & | withSequence (std::int32_t sequence) noexcept override |
| Changes sequence number of this OTC Markets order. | |
| OtcMarketsOrder & | withTimeNanos (std::int64_t timeNanos) noexcept override |
| Changes time of this OTC Markets order and returns it. | |
| OtcMarketsOrder & | withAction (const OrderAction &action) noexcept override |
| Changes an action of this OTC Markets order and returns it. | |
| OtcMarketsOrder & | withActionTime (std::int64_t actionTime) noexcept override |
| Changes time of the last action and returns current OTC Markets order. | |
| OtcMarketsOrder & | withOrderId (std::int64_t orderId) noexcept override |
| Changes order ID. | |
| OtcMarketsOrder & | withAuxOrderId (std::int64_t auxOrderId) noexcept override |
| Changes auxiliary order ID. | |
| OtcMarketsOrder & | withPrice (double price) noexcept override |
| Changes price of this OTC Markets order. | |
| OtcMarketsOrder & | withSize (double size) noexcept override |
| Changes size of this OTC Markets order. | |
| OtcMarketsOrder & | withExecutedSize (double executedSize) noexcept override |
| Changes executed size of this OTC Markets order. | |
| OtcMarketsOrder & | withCount (std::int64_t count) noexcept override |
| Changes a number of individual orders in this aggregate order. | |
| OtcMarketsOrder & | withTradeId (std::int64_t tradeId) noexcept override |
| Changes trade ID. | |
| OtcMarketsOrder & | withTradePrice (double tradePrice) noexcept override |
| Changes trade price. | |
| OtcMarketsOrder & | withTradeSize (double tradeSize) noexcept override |
| Changes trade size. | |
| OtcMarketsOrder & | withExchangeCode (char exchangeCode) noexcept override |
| Changes exchange code of this OTC Markets order. | |
| OtcMarketsOrder & | withExchangeCode (std::int16_t exchangeCode) noexcept override |
| Changes exchange code of this OTC Markets order. | |
| OtcMarketsOrder & | withOrderSide (const Side &side) noexcept override |
| Changes side of this OTC Markets order. | |
| OtcMarketsOrder & | withScope (const Scope &scope) noexcept override |
| Changes scope of this OTC Markets order. | |
| OtcMarketsOrder & | withMarketMaker (const StringLike &marketMaker) noexcept override |
| Changes market maker or other aggregate identifier of this OTC Markets order. | |
| std::int32_t | getQuoteAccessPayment () const noexcept |
| Returns Quote Access Payment (QAP) of this OTC Markets order. | |
| void | setQuoteAccessPayment (std::int32_t quoteAccessPayment) noexcept |
| Changes Quote Access Payment (QAP) of this OTC Markets order. | |
| OtcMarketsOrder & | withQuoteAccessPayment (std::int32_t quoteAccessPayment) noexcept |
| Changes Quote Access Payment (QAP) and returns the current OTC Markets order. | |
| bool | isOpen () const noexcept |
| Returns whether this event is available for business within the operating hours of the OTC Link system. | |
| void | setOpen (bool open) noexcept |
| Changes whether this event is available for business within the operating hours of the OTC Link system. | |
| OtcMarketsOrder & | withOpen (bool open) noexcept |
| Changes whether this event is available for business within the operating hours of the OTC Link system. | |
| bool | isUnsolicited () const noexcept |
| Returns whether this event is unsolicited. | |
| void | setUnsolicited (bool unsolicited) noexcept |
| Changes whether this event is unsolicited. | |
| OtcMarketsOrder & | withUnsolicited (bool unsolicited) noexcept |
| Changes whether this event is unsolicited. | |
| const OtcMarketsPriceType & | getOtcMarketsPriceType () const &noexcept |
| Returns OTC Markets price type of this OTC Markets order events. | |
| void | setOtcMarketsPriceType (const OtcMarketsPriceType &otcPriceType) noexcept |
| Changes OTC Markets price type of this OTC Markets order events. | |
| OtcMarketsOrder & | withOtcMarketsPriceType (const OtcMarketsPriceType &otcPriceType) noexcept |
| Changes OTC Markets price type of this OTC Markets order events. | |
| bool | isSaturated () const noexcept |
| Returns whether this event should NOT be considered for the inside price. | |
| void | setSaturated (bool saturated) noexcept |
| Changes whether this event should NOT be considered for the inside price. | |
| OtcMarketsOrder & | withSaturated (bool saturated) noexcept |
| Changes whether this event should NOT be considered for the inside price. | |
| bool | isAutoExecution () const noexcept |
| Returns whether this event is in 'AutoEx' mode. | |
| void | setAutoExecution (bool autoExecution) noexcept |
| Changes whether this event is in 'AutoEx' mode. | |
| OtcMarketsOrder & | withAutoExecution (bool autoExecution) noexcept |
| Changes whether this event is in 'AutoEx' mode. | |
| bool | isNmsConditional () const noexcept |
| Returns whether this event represents a NMS conditional. | |
| void | setNmsConditional (bool nmsConditional) noexcept |
| Changes whether this event represents a NMS conditional. | |
| OtcMarketsOrder & | withNmsConditional (bool nmsConditional) noexcept |
| Changes whether this event represents a NMS conditional. | |
| std::string | toString () const override |
| Returns a string representation of the current object. | |
Public Member Functions inherited from Order | |
| Order () noexcept | |
| Creates new order event with default values. | |
| Order (const StringLike &eventSymbol) noexcept | |
| 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 (const StringLike &marketMaker) noexcept |
| Changes market maker or other aggregate identifier of this order. | |
Public Member Functions inherited from OrderBase | |
| OrderBase () noexcept | |
| Creates new order event with default values. | |
| OrderBase (const StringLike &eventSymbol) noexcept | |
| Creates a new order event with the specified event symbol. | |
| const OrderSource & | getSource () const &noexcept 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) noexcept |
| 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 (const StringLike &eventSymbol) noexcept 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 EventTypeWithSymbol< std::string > | |
| virtual void | setEventSymbol (const std::string &eventSymbol) noexcept=0 |
| Changes the event symbol that identifies this event type in subscription. | |
Public Member Functions inherited from SharedEntity | |
| template<typename T> | |
| bool | is () const noexcept |
| Checks that the pointer to the current type could be converted to type T* In other words: whether type T belongs to the type hierarchy in which the current type resides. | |
| 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::OTC_MARKETS_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 = EventFlag::TX_PENDING |
0x01 - A bitmask to get transaction pending indicator from the value of eventFlags property. | |
| static const EventFlag | REMOVE_EVENT = EventFlag::REMOVE_EVENT |
0x02 - A bitmask to get removal indicator from the value of eventFlags property. | |
| static const EventFlag | SNAPSHOT_BEGIN = EventFlag::SNAPSHOT_BEGIN |
0x04 - A bitmask to get snapshot begin indicator from the value of eventFlags property. | |
| static const EventFlag | SNAPSHOT_END = EventFlag::SNAPSHOT_END |
0x08 - A bitmask to get snapshot end indicator from the value of eventFlags property. | |
| static const EventFlag | SNAPSHOT_SNIP = EventFlag::SNAPSHOT_SNIP |
0x10 - A bitmask to get snapshot snip indicator from the value of eventFlags property. | |
| static const EventFlag | SNAPSHOT_MODE = EventFlag::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 (const StringLike &eventSymbol) noexcept | |
Protected constructor for concrete implementation classes that initializes eventSymbol property. | |
Represents an extension of Order for the symbols traded on the OTC Markets.
It includes the OTC Markets specific quote data, such as Quote Access Payment (QAP) value, Quote Price Type, Open/Closed status, and Unsolicited quote indicator. The original event (OTC Quote) published by the exchange is presented in the form of two separate OTCMarketsOrder events (bid and ask side). Note that the description of the fields (e.g. QAP) uses the original "quote" term.
For more information about original fields, QAP, Quote Flags and Extended Quote Flags, see OTC Markets Multicast Data Feed.
For more information about display requirements, see OTC Markets Display Requirements.
Like regular orders, OTC Markets order events arrive from multiple sources for the same market symbol and are distinguished by their index. It is unique across all the sources of depth information for the symbol. The event with size either 0 or NaN is a signal to remove previously received order for the corresponding index. The method hasSize() is a convenient method to test for size presence.
Quote Flags from OTC Markets are mapped to the access methods of this class as follows:
Extended Quote Flags from OTC Markets are mapped to the access methods of this class as follows:
OTC Markets 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.
Some feeds provide support for "Full Order Book" (FOB) where additional fields will be available:
This event is implemented on top of QDS records OtcMarketsOrder#<source-id>, where <source-id> is up to 4 ASCII characters with a mnemonic for the source like "pink".
|
explicitnoexcept |
Creates new OTC Markets order event with the specified event symbol.
| eventSymbol | The event symbol. |
References Order::Order().
|
overridevirtual |
Replaces the contents of the event.
| event | the event to use as a source. |
Reimplemented from Order.
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 OTC Markets price type of this OTC Markets order events.
|
noexcept |
Returns Quote Access Payment (QAP) of this OTC Markets order.
QAP functionality allows participants to dynamically set access fees or rebates, in real-time and on a per-security basis through OTC Dealer or OTC FIX connections. Positive integers (1 to 30) indicate a rebate, and negative integers (-1 to -30) indicate an access fee. 0 indicates no rebate or access fee.
|
noexcept |
Returns whether this event is in 'AutoEx' mode.
If this event is in 'AutoEx' mode then a response to an OTC Link trade message will be immediate.
true if this event is in 'AutoEx' mode.
|
noexcept |
Returns whether this event represents a NMS conditional.
This flag indicates the displayed size is a round lot at least two times greater than the minimum round lot size in the security and a trade message relating to the event cannot be sent or filled for less than the displayed size.
true if this event represents a NMS conditional.
|
noexcept |
Returns whether this event is available for business within the operating hours of the OTC Link system.
All quotes will be closed at the start of the trading day and will remain closed until the traders open theirs.
true if this event is available for business within the operating hours of the OTC Link system.
|
noexcept |
Returns whether this event should NOT be considered for the inside price.
true if this event should NOT be considered for the inside price.
|
noexcept |
Returns whether this event is unsolicited.
true if this event is unsolicited.
|
noexcept |
Changes whether this event is in 'AutoEx' mode.
| autoExecution | true if this event is in 'AutoEx' mode. |
Referenced by withAutoExecution().
|
noexcept |
Changes whether this event represents a NMS conditional.
| nmsConditional | true if this event represents a NMS conditional. |
Referenced by withNmsConditional().
|
noexcept |
Changes whether this event is available for business within the operating hours of the OTC Link system.
| open | true if this event is available for business within the operating hours of the OTC Link system. |
Referenced by withOpen().
|
noexcept |
Changes OTC Markets price type of this OTC Markets order events.
| otcPriceType | OTC Markets price type of this OTC Markets order events. |
Referenced by withOtcMarketsPriceType().
|
noexcept |
Changes Quote Access Payment (QAP) of this OTC Markets order.
| quoteAccessPayment | QAP of this OTC Markets order. |
|
noexcept |
Changes whether this event should NOT be considered for the inside price.
| saturated | true if this event should NOT be considered for the inside price. |
Referenced by withSaturated().
|
noexcept |
Changes whether this event is unsolicited.
| unsolicited | true if this event is unsolicited. |
Referenced by withUnsolicited().
|
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.
Reimplemented from Order.
|
overridevirtual |
Returns a string representation of the current object.
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes an action of this OTC Markets order and returns it.
| action | The side of this OTC Markets order. |
Reimplemented from Order.
References Order::withAction().
|
overridevirtualnoexcept |
Changes time of the last action and returns current OTC Markets order.
| actionTime | The last order action time. |
Reimplemented from Order.
|
noexcept |
Changes whether this event is in 'AutoEx' mode.
Returns the current OTC Markets order.
| autoExecution | true if this event is in 'AutoEx' mode. |
References setAutoExecution().
|
overridevirtualnoexcept |
Changes auxiliary order ID.
Returns the current OTC Markets order.
| auxOrderId | The auxiliary order ID. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes a number of individual orders in this aggregate order.
Returns the current OTC Markets order.
| count | The number of individual orders in this aggregate order. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes transactional event flags and returns the current OTC Markets 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 OTC Markets order.
See EventFlag "Event Flags" section.
| eventFlags | transactional event flags. |
Reimplemented from Order.
References Order::withEventFlags().
|
overridevirtualnoexcept |
Changes the event's symbol and returns the current OTC Markets order.
| eventSymbol | The symbol of this event. |
Reimplemented from Order.
References Order::withEventSymbol().
|
overridevirtualnoexcept |
Changes event's creation time and returns the current OTC Markets order.
| eventTime | the difference, measured in milliseconds, between the event creation time and midnight, January 1, 1970 UTC. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes exchange code of this OTC Markets order.
Returns the current OTC Markets order.
| exchangeCode | The exchange code of this OTC Markets order. |
Reimplemented from Order.
References Order::withExchangeCode().
|
overridevirtualnoexcept |
Changes exchange code of this OTC Markets order.
Returns the current OTC Markets order.
| exchangeCode | The exchange code of this OTC Markets order. |
Reimplemented from Order.
References Order::withExchangeCode().
|
overridevirtualnoexcept |
Changes executed size of this OTC Markets order.
Returns the current OTC Markets order.
| executedSize | The executed size of this OTC Markets order. |
Reimplemented from Order.
References Order::withExecutedSize().
|
overridevirtualnoexcept |
Changes unique per-symbol index of this OTC Markets 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 OTC Markets order. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes market maker or other aggregate identifier of this OTC Markets order.
Returns the current OTC Markets order.
| marketMaker | The market maker or another aggregate identifier of this OTC Markets order. |
Reimplemented from Order.
References Order::withMarketMaker().
|
noexcept |
Changes whether this event represents a NMS conditional.
Returns the current OTC Markets order.
| nmsConditional | true if this event represents a NMS conditional. |
References setNmsConditional().
|
noexcept |
Changes whether this event is available for business within the operating hours of the OTC Link system.
Returns the current OTC Markets order.
| open | true if this event is available for business within the operating hours of the OTC Link system. |
References setOpen().
|
overridevirtualnoexcept |
Changes order ID.
Returns the current OTC Markets order.
| orderId | The order ID. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes side of this OTC Markets order.
Returns the current OTC Markets order.
| side | The side of this OTC Markets order. |
Reimplemented from Order.
References Order::withOrderSide().
|
noexcept |
Changes OTC Markets price type of this OTC Markets order events.
Returns the current OTC Markets order.
| otcPriceType | OTC Markets price type of this OTC Markets order events. |
References setOtcMarketsPriceType().
|
overridevirtualnoexcept |
Changes price of this OTC Markets order.
Returns the current OTC Markets order.
| price | The price of this OTC Markets order. |
Reimplemented from Order.
References Order::withPrice().
|
noexcept |
Changes Quote Access Payment (QAP) and returns the current OTC Markets order.
| quoteAccessPayment | QAP of this OTC Markets order. |
|
noexcept |
Changes whether this event should NOT be considered for the inside price.
Returns the current OTC Markets order.
| saturated | true if this event should NOT be considered for the inside price. |
References setSaturated().
|
overridevirtualnoexcept |
Changes scope of this OTC Markets order.
Returns the current OTC Markets order.
| scope | The scope of this OTC Markets order. |
Reimplemented from Order.
References Order::withScope().
|
overridevirtualnoexcept |
Changes sequence number of this OTC Markets order.
Returns the current OTC Markets order.
| sequence | the sequence. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes size of this OTC Markets order.
Returns the current OTC Markets order.
| size | The size of this OTC Markets order. |
Reimplemented from Order.
References Order::withSize().
|
overridevirtualnoexcept |
Changes event's source and returns the current OTC Markets order.
This method changes highest bits of the index of this event.
| source | source of this event. |
Reimplemented from Order.
References Order::withSource().
|
overridevirtualnoexcept |
Changes time of this OTC Markets order and returns it.
Time is measured in milliseconds between the current time and midnight, January 1, 1970 UTC.
| time | time of this OTC Markets order. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes microseconds and nanoseconds time part of this OTC Markets order.
Returns the current OTC Markets order.
| timeNanoPart | microseconds and nanoseconds time part of this OTC Markets order. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes time of this OTC Markets order and returns it.
Time is measured in nanoseconds between the current time and midnight, January 1, 1970 UTC.
| timeNanos | The time of this OTC Markets order in nanoseconds. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes trade ID.
Returns the current OTC Markets order.
| tradeId | The trade ID. |
Reimplemented from Order.
|
overridevirtualnoexcept |
Changes trade price.
Returns the current OTC Markets order.
| tradePrice | The trade price. |
Reimplemented from Order.
References Order::withTradePrice().
|
overridevirtualnoexcept |
Changes trade size.
Returns the current OTC Markets order.
| tradeSize | The trade size. |
Reimplemented from Order.
References Order::withTradeSize().
|
noexcept |
Changes whether this event is unsolicited.
Returns the current OTC Markets order.
| unsolicited | true if this event is unsolicited. |
References setUnsolicited().