dxFeed .Net API  5.13.0
dxFeed .Net API library intended to provide market data access for DX clients
Public Member Functions | Package Functions | Properties
com.dxfeed.native.events.NativeTradeBase Class Reference

Base class for common fields of IDxTrade and IDxTradeETH events. Trade events represent the most recent information that is available about the last trade on the market at any given moment of time. More...

Inheritance diagram for com.dxfeed.native.events.NativeTradeBase:
[legend]
Collaboration diagram for com.dxfeed.native.events.NativeTradeBase:
[legend]

Public Member Functions

override string ToString ()
 
- Public Member Functions inherited from com.dxfeed.native.events.MarketEventImpl
abstract object Clone ()
 

Package Functions

unsafe NativeTradeBase (DxTrade *tradeNative, string symbol)
 Creates new trade with the specified event symbol. More...
 
 NativeTradeBase (IDxTradeBase trade)
 Creates copy of trade object. More...
 

Properties

DateTime Time [get, set]
 Returns time of the last trade. This time has precision up to milliseconds. More...
 
int Sequence [get, set]
 Returns sequence number of the last trade to distinguish trades that have the same time. This sequence number does not have to be unique and does not need to be sequential. More...
 
int TimeNanoPart [get, set]
 Returns microseconds and nanoseconds time part of the last trade. More...
 
char ExchangeCode [get, set]
 Returns exchange code of the last trade. More...
 
double Price [get, set]
 Returns price of the last trade. More...
 
long Size [get, set]
 Returns size of the last trade. More...
 
double DayVolume [get, set]
 Returns total volume traded for a day. More...
 
double DayTurnover [get, set]
 Returns total turnover traded for a day. Day VWAP can be computed with getDayTurnover() / getDayVolume}(). More...
 
Direction TickDirection [get, set]
 Returns tick direction of the last trade. More...
 
bool IsExtendedTradingHours [get, set]
 Returns whether last trade was in extended trading hours. More...
 
Scope Scope [get, set]
 Returns whether last trade was a composite or regional (other constants are not used here). More...
 
int RawFlags [get, set]
 Returns implementation-specific raw bit flags value More...
 
- Properties inherited from com.dxfeed.native.events.MarketEventImpl
string EventSymbol [get, private set]
 Returns symbol of this event. More...
 
object IDxEventType. EventSymbol [get]
 
- Properties inherited from com.dxfeed.api.events.IDxTradeBase
DateTime Time [get]
 Returns time of the last trade. This time has precision up to milliseconds. More...
 
int Sequence [get]
 Returns sequence number of the last trade to distinguish trades that have the same time. This sequence number does not have to be unique and does not need to be sequential. More...
 
int TimeNanoPart [get]
 Returns microseconds and nanoseconds time part of the last trade. More...
 
char ExchangeCode [get]
 Returns exchange code of the last trade. More...
 
double Price [get]
 Returns price of the last trade. More...
 
long Size [get]
 Returns size of the last trade. More...
 
double DayVolume [get]
 Returns total volume traded for a day. More...
 
double DayTurnover [get]
 Returns total turnover traded for a day. Day VWAP can be computed with getDayTurnover() / getDayVolume}(). More...
 
Direction TickDirection [get]
 Returns tick direction of the last trade. More...
 
bool IsExtendedTradingHours [get]
 Returns whether last trade was in extended trading hours. More...
 
int RawFlags [get]
 Returns implementation-specific raw bit flags value More...
 
Scope Scope [get]
 Returns whether last trade was a composite or regional (other constants are not used here). More...
 

Additional Inherited Members

- Protected Member Functions inherited from com.dxfeed.native.events.MarketEventImpl
 MarketEventImpl (string symbol)
 Protected constructor for concrete implementation classes that initializes EventSymbol property. More...
 

Detailed Description

Base class for common fields of IDxTrade and IDxTradeETH events. Trade events represent the most recent information that is available about the last trade on the market at any given moment of time.

IDxTrade event represents last trade information for regular trading hours(RTH) with an official volumefor the whole trading day.

IDxTradeETH event is defined only for symbols (typically stocks and ETFs) with a designated extended trading hours (ETH, pre market and post market trading sessions). It represents last trade price during ETH and accumulated volume during ETH.

Constructor & Destructor Documentation

◆ NativeTradeBase() [1/2]

unsafe com.dxfeed.native.events.NativeTradeBase.NativeTradeBase ( DxTrade tradeNative,
string  symbol 
)
inlinepackage

Creates new trade with the specified event symbol.

Parameters
tradeNativeNative DxTrade object.
symbolThe event symbol.

◆ NativeTradeBase() [2/2]

com.dxfeed.native.events.NativeTradeBase.NativeTradeBase ( IDxTradeBase  trade)
inlinepackage

Creates copy of trade object.

Parameters
tradeThe IDxTrade object.

Member Function Documentation

◆ ToString()

override string com.dxfeed.native.events.NativeTradeBase.ToString ( )
inline

Property Documentation

◆ DayTurnover

double com.dxfeed.native.events.NativeTradeBase.DayTurnover
getset

Returns total turnover traded for a day. Day VWAP can be computed with getDayTurnover() / getDayVolume}().

◆ DayVolume

double com.dxfeed.native.events.NativeTradeBase.DayVolume
getset

Returns total volume traded for a day.

◆ ExchangeCode

char com.dxfeed.native.events.NativeTradeBase.ExchangeCode
getset

Returns exchange code of the last trade.

◆ IsExtendedTradingHours

bool com.dxfeed.native.events.NativeTradeBase.IsExtendedTradingHours
getset

Returns whether last trade was in extended trading hours.

◆ Price

double com.dxfeed.native.events.NativeTradeBase.Price
getset

Returns price of the last trade.

◆ RawFlags

int com.dxfeed.native.events.NativeTradeBase.RawFlags
getset

Returns implementation-specific raw bit flags value

◆ Scope

Scope com.dxfeed.native.events.NativeTradeBase.Scope
getset

Returns whether last trade was a composite or regional (other constants are not used here).

◆ Sequence

int com.dxfeed.native.events.NativeTradeBase.Sequence
getset

Returns sequence number of the last trade to distinguish trades that have the same time. This sequence number does not have to be unique and does not need to be sequential.

◆ Size

long com.dxfeed.native.events.NativeTradeBase.Size
getset

Returns size of the last trade.

◆ TickDirection

Direction com.dxfeed.native.events.NativeTradeBase.TickDirection
getset

Returns tick direction of the last trade.

◆ Time

DateTime com.dxfeed.native.events.NativeTradeBase.Time
getset

Returns time of the last trade. This time has precision up to milliseconds.

◆ TimeNanoPart

int com.dxfeed.native.events.NativeTradeBase.TimeNanoPart
getset

Returns microseconds and nanoseconds time part of the last trade.


The documentation for this class was generated from the following file: