OnixS MX HSVF Market Data Handler for C++  1.9.2.0
Public Member Functions | Protected Attributes
OptionQuote Class Reference

Option quote. More...

List of all members.

Public Member Functions

 OptionQuote (const OptionQuote &)
 Copy constructor.
const OptionQuoteoperator= (const OptionQuote &rhs)
 Assignment operator.
 ~OptionQuote ()
 Destructor.
const HighResolutionTimereceivingTime () const
 Returns high-resolution time when message was received.
MessageType::Enum type () const
 Message type in therm of MessageType enumeration (see Enums.h).
const MessageHeaderheader () const
 Access to the message header.
std::string toString () const
 String representation.
ExchangeID::Enum exchangeID () const
 Exchange on which the quote occurred.
const char * rootSymbol () const
 Option base symbol.
Month::Enum expiryMonth () const
 Expiry month of the option.
char strikePriceCode () const
 Code for the strike price of the option.
ExponentialNumber strikePrice () const
 Strike price in full.
UInt32 expiryYear () const
 The option expiry year.
UInt32 expiryDay () const
 Expiry day.
ExponentialNumber bidPrice () const
 Bid price for the option series.
ExponentialNumber bidSize () const
 Number of option contracts represented by the Bid Price.
ExponentialNumber askPrice () const
 Ask price for the option series.
ExponentialNumber askSize () const
 Number of option contracts represented by the Ask Price.
StatusMarker::Enum instrumentStatusMarker () const
 Indicates instrument status.

Protected Attributes

Implementation * impl

Detailed Description

Option quote.


Member Function Documentation

const HighResolutionTime& receivingTime ( ) const [virtual]

Returns high-resolution time when message was received.

If the Handler is executed in live mode, returned value represents time when message was obtained from the network.

Implements Message.

std::string toString ( ) const [virtual]

String representation.

Return value exposes parsing errors as long as those present in source message data.

Implements Message.

MessageType::Enum type ( ) const [virtual]

Message type in therm of MessageType enumeration (see Enums.h).

Always has the same value: MessageType::OptionQuote. The same value is accessible through header().type() call.

Implements Message.