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

Public Types

enum  

Public Member Functions

 MarkerIndexPrices ()
 MarkerIndexPrices (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 marketId
Price price
std::string shortName
DateTime publishedDateTime
std::string valuationDate
MarkerIndexPricesStatus::Enum status
MarketId altMarketId
char indexPriceDenominator

Detailed Description

Definition at line 36 of file MarkerIndexPrices.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message type constant.

Enumerator
messageType 'z' 

Definition at line 39 of file MarkerIndexPrices.h.

Constructor & Destructor Documentation

◆ MarkerIndexPrices() [1/2]

Default constructor.

◆ MarkerIndexPrices() [2/2]

MarkerIndexPrices ( 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

◆ altMarketId

MarketId altMarketId

The market id of the marker market, or 0 if none is set.

Definition at line 67 of file MarkerIndexPrices.h.

◆ indexPriceDenominator

char indexPriceDenominator

This field should be applied to the Price field to get the number of decimals for the Marker/Index.

Definition at line 71 of file MarkerIndexPrices.h.

◆ marketId

MarketId marketId

The market ID of the underlying market of the Marker/Index.

Definition at line 45 of file MarkerIndexPrices.h.

◆ price

Price price

Price. IndexPriceDenominator for the market should be applied to get the real price.

Definition at line 49 of file MarkerIndexPrices.h.

◆ publishedDateTime

DateTime publishedDateTime

The date and time the marker was put into. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.

Definition at line 56 of file MarkerIndexPrices.h.

◆ shortName

std::string shortName

The short name date of the Marker/Index. For example Morn5Min.

Definition at line 52 of file MarkerIndexPrices.h.

◆ status

For Endex Spot markets, the possible values are Current (C), Default (D), Final (F). For non-Endex Spot markets this field will be set to ‘’ '`.

Definition at line 64 of file MarkerIndexPrices.h.

◆ valuationDate

std::string valuationDate

The date this price is effective for, in the format of YYYY-MM-DD.

Definition at line 59 of file MarkerIndexPrices.h.