OnixS EBS BrokerTec Market Data and Trading Handler for C++  2.14.1.0
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
InstrumentClass Struct Reference

Instrument Class Entity. More...

Classes

struct  BlockSize
 This structure provides table information about block sizes for regular order books. More...
 
struct  TickSize
 This structure provides table information on a bid and/or offer set for each price fluctuation range. More...
 

Public Types

typedef std::vector< TickSizeTicks
 
typedef std::vector< BlockSizeBlockSizes
 

Public Member Functions

std::string toString () const
 String representation.
 
 InstrumentClass (const InstrumentType &instumentType, const Underlying &underlying)
 Constructor.
 

Public Attributes

InstrumentClassId id
 An unique binary id of the instrument class.
 
const InstrumentTypeinstrumentType
 Related instrument type.
 
const Underlyingunderlying
 Related udnerlying.
 
std::string symbol
 An unique symbolic id of the instrument class.
 
std::string name
 Name of instrument class.
 
int32 contractSize
 Number of Security [Underlying] entities per contract.
 
uint32 derivateLevel
 The derivative level of the instrument: More...
 
uint32 strikePriceDenominator
 Denominator for strike price.
 
uint32 premiumDenominator
 Denominator for premium prices.
 
PremiumUnit::Enum premiumUnit
 Price unit for premium prices.
 
Ticks ticks
 Price fluctuation ranges.
 
BlockSizes blockSizes
 Block Sizes.
 
std::string currency
 Currency.
 
OMexBool::Enum traded
 Set to yes, if the corresponding Instrument [Series] for the Class is traded.
 
InstrumentStatus status
 Status information.
 

Detailed Description

Instrument Class Entity.

The instrument class is needed to format a price.

Member Data Documentation

uint32 derivateLevel

The derivative level of the instrument:

  • 0 = Spot
  • 1 = Derivative based on spot
  • 2 = Derivative based on instrument of level 1
  • etc.