OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.10.0
API documentation
PreOpenPriceIndicator Struct Reference

#include <PreOpenPriceIndicator.h>

Public Types

enum  { messageType = 'g' }

Public Member Functions

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

Public Attributes

MarketId marketId
Price preOpenPrice
DateTime dateTime
bool hasPreOpenVolume
int preOpenVolume

Detailed Description

Definition at line 35 of file PreOpenPriceIndicator.h.

Member Enumeration Documentation

anonymous enum

Message type constant.


Definition at line 38 of file PreOpenPriceIndicator.h.

Constructor & Destructor Documentation

Default constructor.

PreOpenPriceIndicator ( 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 message was sent. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.

Definition at line 48 of file PreOpenPriceIndicator.h.

bool hasPreOpenVolume

This field will always be set to Y. PreOpenVolume will be set to 0 if there is no volume that will trade during pre-open.

Definition at line 52 of file PreOpenPriceIndicator.h.

MarketId marketId

Unique identifier of the market.

Definition at line 41 of file PreOpenPriceIndicator.h.

Price preOpenPrice

Pre-open price. DealPriceDenominator for the market should be.

Definition at line 44 of file PreOpenPriceIndicator.h.

int preOpenVolume

Indicative volume that would trade at the PreOpenPrice.

Definition at line 55 of file PreOpenPriceIndicator.h.

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