OpenMAMA
Wombat::MamdaOptionExchangeUtils Class Reference

A class with static utility functions for dealing with exchanges. More...

#include <MamdaOptionExchangeUtils.h>

Static Public Member Functions

static bool isBbo (const char *exchange)
 Return whether the exchange ID is the one used to represent the best bid and offer. More...
 
static bool isWombatBbo (const char *exchange)
 Return whether the exchange ID is the one used to represent the NYSE Technologies-calculated best bid and offer. More...
 

Detailed Description

A class with static utility functions for dealing with exchanges.

Member Function Documentation

◆ isBbo()

static bool Wombat::MamdaOptionExchangeUtils::isBbo ( const char *  exchange)
static

Return whether the exchange ID is the one used to represent the best bid and offer.

Currently it will match "", "BBO" and "Z".

Parameters
exchangeThe exchange Id.
Returns
Whether the given exchange id is being used to identify the BBO (Best Bid and Offer) record.

◆ isWombatBbo()

static bool Wombat::MamdaOptionExchangeUtils::isWombatBbo ( const char *  exchange)
static

Return whether the exchange ID is the one used to represent the NYSE Technologies-calculated best bid and offer.

Currently will match "BBO",

Parameters
exchangeThe exchange id.
Returns
Whether the given exchange id is being used to identify the WombatBBO (Best Bid and Offer) record.

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


© 2012 Linux Foundation