|
| 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.
|
|
| NuamTimeAndSale () noexcept |
| | Creates new Nuam time and sale event with default values.
|
| | NuamTimeAndSale (StringParam eventSymbol) |
| | Creates new Nuam time and sale event with the specified event symbol.
|
| std::int64_t | getMatchId () const noexcept |
| | Returns the match ID, which uniquely identifies the match between the buyer and the seller associated with this transaction.
|
| void | setMatchId (std::int64_t matchId) noexcept |
| | Changes the match ID, which uniquely identifies the match between the buyer and the seller associated with this transaction.
|
| std::string | toString () const override |
| | Returns a string representation of the current object.
|
| Public Member Functions inherited from TimeAndSale |
| 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.
|
|
| TimeAndSale () noexcept |
| | Creates new time and sale event with default values.
|
| | TimeAndSale (StringParam eventSymbol) |
| | Creates a new time and sale event with the specified event symbol.
|
| const IndexedEventSource & | getSource () const &noexcept override |
| | Returns the 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.
|
| std::int64_t | getIndex () const noexcept override |
| | Returns a unique per-symbol index of this event.
|
| void | setIndex (std::int64_t index) override |
| | Changes the unique per-symbol index of this event.
|
| std::int64_t | getTime () const noexcept override |
| | Returns the timestamp of the event in milliseconds.
|
| void | setTime (std::int64_t time) noexcept |
| | Changes the timestamp of the event in milliseconds.
|
| std::int64_t | getTimeNanos () const noexcept |
| | Returns time of the original event in nanoseconds.
|
| void | setTimeNanos (std::int64_t timeNanos) noexcept |
| | Changes time of the original event.
|
| void | setTimeNanoPart (std::int32_t timeNanoPart) noexcept |
| | Changes microseconds and nanoseconds time part of the original event.
|
| std::int32_t | getTimeNanoPart () const noexcept |
| | Returns microseconds and nanoseconds time part of the original event.
|
| std::int32_t | getSequence () const noexcept |
| | Returns the sequence number of this event to distinguish events that have the same time.
|
| void | setSequence (std::int32_t sequence) |
| | Changes sequence number of this event.
|
| std::int16_t | getExchangeCode () const noexcept |
| | Returns exchange code of this time and sale event.
|
| std::string | getExchangeCodeString () const noexcept |
| | Returns exchange code of this time and sale event as UTF8 string.
|
| void | setExchangeCode (char exchangeCode) noexcept |
| | Changes exchange code of this time and sale event.
|
| void | setExchangeCode (std::int16_t exchangeCode) noexcept |
| | Changes exchange code of this time and sale event.
|
| std::int64_t | getTradeId () const noexcept |
| | Returns trade ID of this time and sale event.
|
| void | setTradeId (std::int64_t tradeId) noexcept |
| | Changes trade ID of this time and sale event.
|
| double | getPrice () const noexcept |
| | Returns price of this time and sale event.
|
| void | setPrice (double price) noexcept |
| | Changes price of this time and sale event.
|
| double | getSize () const noexcept |
| | Returns size of this time and sale event.
|
| void | setSize (double size) noexcept |
| | Changes size of this time and sale event.
|
| double | getBidPrice () const noexcept |
| | Returns the current bid price on the market when this time and sale event had occurred.
|
| void | setBidPrice (double bidPrice) noexcept |
| | Changes the current bid price on the market when this time and sale event had occurred.
|
| double | getAskPrice () const noexcept |
| | Returns the current ask price on the market when this time and sale event had occurred.
|
| void | setAskPrice (double askPrice) noexcept |
| | Changes price of this time and sale event.the current ask price on the market when this time and sale event had occurred.
|
| const std::string & | getExchangeSaleConditions () const &noexcept |
| | Returns sale conditions provided for this event by data feed.
|
| const std::optional< std::string > & | getExchangeSaleConditionsOpt () const &noexcept |
| | Returns sale conditions provided for this event by data feed.
|
| void | setExchangeSaleConditions (StringParam exchangeSaleConditions) |
| | Changes sale conditions provided for this event by data feed.
|
| template<OptionalString S> |
| void | setExchangeSaleConditions (S &&exchangeSaleConditions) noexcept |
| | Changes the sale conditions, or makes it null with std::nullopt.
|
| char | getTradeThroughExempt () const noexcept |
| | Returns TradeThroughExempt flag of this time and sale event.
|
| void | setTradeThroughExempt (char tradeThroughExempt) |
| | Changes TradeThroughExempt flag of this time and sale event.
|
| const Side & | getAggressorSide () const &noexcept |
| | Returns aggressor side of this time and sale event.
|
| void | setAggressorSide (const Side &side) noexcept |
| | Changes aggressor side of this time and sale event.
|
| bool | isSpreadLeg () const noexcept |
| | Returns whether this event represents a spread leg.
|
| void | setSpreadLeg (bool spreadLeg) noexcept |
| | Changes whether this event represents a spread leg.
|
| bool | isExtendedTradingHours () const noexcept |
| | Returns whether this event represents an extended trading hours sale.
|
| void | setExtendedTradingHours (bool extendedTradingHours) noexcept |
| | Changes whether this event represents an extended trading hours sale.
|
| bool | isValidTick () const noexcept |
| | Returns whether this event represents a valid intraday tick.
|
| void | setValidTick (bool validTick) noexcept |
| | Changes whether this event represents a valid intraday tick.
|
| const TimeAndSaleType & | getType () const &noexcept |
| | Returns type of this time and sale event.
|
| void | setType (const TimeAndSaleType &type) noexcept |
| | Changes type of this time and sale event.
|
| bool | isNew () const noexcept |
| | Returns whether this is a new event (not cancellation or correction).
|
| bool | isCorrection () const noexcept |
| | Returns whether this is a correction of a previous event.
|
| bool | isCancel () const noexcept |
| | Returns whether this is a cancellation of a previous event.
|
| const std::string & | getBuyer () const &noexcept |
| | Returns buyer of this time and sale event.
|
| const std::optional< std::string > & | getBuyerOpt () const &noexcept |
| | Returns buyer of this time and sale event.
|
| void | setBuyer (StringParam buyer) |
| | Changes buyer of this time and sale event.
|
| template<OptionalString S> |
| void | setBuyer (S &&buyer) noexcept |
| | Changes the buyer of this time and sale event, or makes it null with std::nullopt.
|
| const std::string & | getSeller () const &noexcept |
| | Returns seller of this time and sale event.
|
| const std::optional< std::string > & | getSellerOpt () const &noexcept |
| | Returns seller of this time and sale event.
|
| void | setSeller (StringParam seller) |
| | Changes seller of this time and sale event.
|
| template<OptionalString S> |
| void | setSeller (S &&seller) noexcept |
| | Changes the seller of this time and sale event, or makes it null with std::nullopt.
|
| std::string | toString () const override |
| | Returns a string representation of the current object.
|
| 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.
|
| 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.
|
|
virtual | ~Entity () noexcept |
| | The default virtual d-tor.
|
| const IndexedEventSource & | getSource () const &noexcept override |
| | Returns the source identifier for this event, which is always DEFAULT for time-series events.
|
| std::int64_t | getIndex () const noexcept override |
| | Returns unique per-symbol index of this event.
|
| virtual std::int64_t | getEventId () const noexcept |
| | Returns unique per-symbol index of this event.
|
Represents an extension of TimeAndSale 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 different IDs.
Java: NuamTimeAndSale
Properties
NuamTimeAndSale event has all the properties of TimeAndSale and the following one:
-
matchId - the unique identifier of the match associated with this transaction.
Event flags, transactions and snapshots
Some Nuam time and sale sources provide a consistent view of the set of known Nuam time and sales for a given time range when used with DXFeedTimeSeriesSubscription. The corresponding information is carried in eventFlags property. The logic behind this property is detailed in IndexedEvent class documentation. Multiple event sources for the same symbol are not supported for Nuam time and sales, thus source property is always DEFAULT.
Regular subscription via DXFeedSubscription produces a stream of Nuam time and sale events as they happen and their eventFlags are always zero.
Publishing Nuam Time and Sales
Publishing of Nuam time and sales events follows the general rules explained in TimeSeriesEvent class documentation.
Implementation details
This event is implemented on top of QDS record NuamTimeAndSale.