OnixS C++ CME Market Data Handler  2.56.0.0
Public Member Functions | List of all members
Trade Class Reference

Trade. More...

Public Member Functions

 Trade (SecurityId id, const GroupInstance &entry)
 Initializes an instance.
 
 ~Trade ()
 Releases associated data.
 
SecurityId securityId () const
 Unique instrument ID as qualified by the exchange per tag 22-SecurityIDSource (tag 48). More...
 
TradeUpdateAction action () const
 Type of Market Data (Trade) update action.
 
Price price () const
 Price.
 
bool quantity (SignedQuantity &quantity) const
 Quantity if available.
 
bool tradeVolume (Volume &value) const
 Total traded volume since the beginning of the session.
 
TradeCondition tradeCondition () const
 Condition describing a trade.
 
bool netChangeFromPreviousDay (Price &value) const
 Net change from previous day’s closing price vs. More...
 
TickDirection tickDirection () const
 Retrieves tick direction if available.
 
AggressorSide aggressorSide () const
 Returns the aggressor side of the trade.
 
bool entryTime (TimeSpan &time) const
 Trade time if available.
 
const GroupInstancemarketDataEntry () const
 Returns group entry (FIX fields) of underlying message. More...
 
std::string toString () const
 Returns text presentation.
 
void toString (std::string &) const
 Appends text presentation.
 

Detailed Description

Trade.

Member Function Documentation

const GroupInstance& marketDataEntry ( ) const
inline

Returns group entry (FIX fields) of underlying message.

Group entry contains all the data related with given trade.

bool netChangeFromPreviousDay ( Price value) const
inline

Net change from previous day’s closing price vs.

last traded price.

SecurityId securityId ( ) const
inline

Unique instrument ID as qualified by the exchange per tag 22-SecurityIDSource (tag 48).