OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.18.0
API documentation
Loading...
Searching...
No Matches
OldStyleOptionsTradeAndMarketStats Struct Reference

Public Types

enum  

Public Member Functions

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

Public Attributes

MarketId underlyingMarketId
TradeId tradeId
Price price
int quantity
OffMarketTradeType::Enum offMarketTradeType
DateTime transactDateTime
OptionType::Enum optionType
Price strikePrice
EventCode::Enum eventCode
int totalVolume
int blockVolume
int efsVolume
int efpVolume
Price high
Price low
Price vwap

Detailed Description

Definition at line 36 of file OldStyleOptionsTradeAndMarketStats.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message type constant.

Enumerator
messageType 'W' 

Definition at line 39 of file OldStyleOptionsTradeAndMarketStats.h.

Constructor & Destructor Documentation

◆ OldStyleOptionsTradeAndMarketStats() [1/2]

Default constructor.

◆ OldStyleOptionsTradeAndMarketStats() [2/2]

OldStyleOptionsTradeAndMarketStats ( const char * data,
std::size_t dataSize )

Initialize from raw message data.

Member Function Documentation

◆ deserialize()

void deserialize ( const char * data,
std::size_t dataSize )

Deserialize from raw data.

◆ reset()

void reset ( )

Reset all fields to default values.

◆ toString()

std::string toString ( ) const

Returns string representation.

Member Data Documentation

◆ blockVolume

int blockVolume

Block volume. N/A if set to -1.

Definition at line 78 of file OldStyleOptionsTradeAndMarketStats.h.

◆ efpVolume

int efpVolume

EFP volume. N/A if set to -1.

Definition at line 84 of file OldStyleOptionsTradeAndMarketStats.h.

◆ efsVolume

int efsVolume

EFS volume. N/A if set to -1.

Definition at line 81 of file OldStyleOptionsTradeAndMarketStats.h.

◆ eventCode

EventCode::Enum eventCode

Event code.

Definition at line 72 of file OldStyleOptionsTradeAndMarketStats.h.

◆ high

Price high

High price. NumDecimalsOptionsPrice from the underlying market should be applied to get the real price.

Definition at line 88 of file OldStyleOptionsTradeAndMarketStats.h.

◆ low

Price low

Low price. NumDecimalsOptionsPrice from the underlying market should be applied to get the real price.

Definition at line 92 of file OldStyleOptionsTradeAndMarketStats.h.

◆ offMarketTradeType

OffMarketTradeType::Enum offMarketTradeType

Only for off market trade. The value is ‘’ '` when it is a regular trade. See Appendix B for the codes and descriptions

Definition at line 59 of file OldStyleOptionsTradeAndMarketStats.h.

◆ optionType

OptionType::Enum optionType

Option type.

Definition at line 65 of file OldStyleOptionsTradeAndMarketStats.h.

◆ price

Price price

Trade price. NumDecimalsOptionsPrice from the underlying market should be applied to get the real price.

Definition at line 52 of file OldStyleOptionsTradeAndMarketStats.h.

◆ quantity

int quantity

Quantity.

Definition at line 55 of file OldStyleOptionsTradeAndMarketStats.h.

◆ strikePrice

Price strikePrice

Strike price. NumDecimalsStrikePrice from the underlying market should be applied to get the real strike price.

Definition at line 69 of file OldStyleOptionsTradeAndMarketStats.h.

◆ totalVolume

int totalVolume

Total volume. N/A if set to -1.

Definition at line 75 of file OldStyleOptionsTradeAndMarketStats.h.

◆ tradeId

TradeId tradeId

Unique identifier of the trade.

Definition at line 48 of file OldStyleOptionsTradeAndMarketStats.h.

◆ transactDateTime

DateTime transactDateTime

Deal date time. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.

Definition at line 62 of file OldStyleOptionsTradeAndMarketStats.h.

◆ underlyingMarketId

MarketId underlyingMarketId

The underlying market ID of this options market.

Definition at line 45 of file OldStyleOptionsTradeAndMarketStats.h.

◆ vwap

Price vwap

Weighted Average Price. NumDecimalsOptionsPrice from the underlying market should be applied to get the real price.

Definition at line 96 of file OldStyleOptionsTradeAndMarketStats.h.