OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.17.0
API documentation
CancelledTrade Struct Reference

#include <CancelledTrade.h>

Public Types

enum  { messageType = 'I' }
 

Public Member Functions

 CancelledTrade ()
 
 CancelledTrade (const char *data, size_t dataSize)
 
void deserialize (const char *data, size_t dataSize)
 
void reset ()
 
std::string toString () const
 

Public Attributes

MarketId marketId
 
TradeId tradeId
 
Price price
 
int quantity
 
DateTime dateTime
 
OffMarketTradeType::Enum offMarketTradeType
 

Detailed Description

Definition at line 36 of file CancelledTrade.h.

Member Enumeration Documentation

anonymous enum

Message type constant.

Enumerator
messageType 

Definition at line 39 of file CancelledTrade.h.

Constructor & Destructor Documentation

Default constructor.

CancelledTrade ( const char *  data,
size_t  dataSize 
)

Initialize from raw message data.

Member Function Documentation

void deserialize ( const char *  data,
size_t  dataSize 
)

Deserialize from raw data.

void reset ( )

Reset all fields to default values.

std::string toString ( ) const

Returns string representation.

Member Data Documentation

DateTime dateTime

Date time the trade was cancelled. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.

Definition at line 56 of file CancelledTrade.h.

MarketId marketId

Unique identifier of the market.

Definition at line 42 of file CancelledTrade.h.

OffMarketTradeType::Enum offMarketTradeType

Only for off market trade. The first character is `' 'when it is a regular trade. One or two null characters ('\0'`) will be appended to the end of this field when applicable. See Appendix B for the codes and descriptions.

Definition at line 62 of file CancelledTrade.h.

Price price

Price of the trade. DealPriceDenominator for the market should be applied to get the real price.

Definition at line 49 of file CancelledTrade.h.

int quantity

Trade quantity.

Definition at line 52 of file CancelledTrade.h.

TradeId tradeId

Unique identifier of the trade.

Definition at line 45 of file CancelledTrade.h.


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