A class that represents a set of option contracts at a given strike price. More...
#include <MamdaOptionContractSet.h>
Public Member Functions | |
MamdaOptionContractSet () | |
~MamdaOptionContractSet () | |
void | setBboContract (MamdaOptionContract *contract) |
Set the contract for the best bid and offer. | |
void | setWombatBboContract (MamdaOptionContract *contract) |
Set the contract for the best bid and offer, as calculated by NYSE Technologies. | |
void | setExchangeContract (const char *exchange, MamdaOptionContract *contract) |
Set the contract for the particular exchange. | |
MamdaOptionContract * | getBboContract () const |
Return the contract for the best bid and offer. | |
MamdaOptionContract * | getWombatBboContract () const |
Return the contract for the best bid and offer, as calculated by NYSE Technologies. | |
MamdaOptionContract * | getExchangeContract (const char *exchange) const |
Return the contract for the particular exchange. |
A class that represents a set of option contracts at a given strike price.
Wombat::MamdaOptionContractSet::MamdaOptionContractSet | ( | ) |
Wombat::MamdaOptionContractSet::~MamdaOptionContractSet | ( | ) |
void Wombat::MamdaOptionContractSet::setBboContract | ( | MamdaOptionContract * | contract | ) |
Set the contract for the best bid and offer.
void Wombat::MamdaOptionContractSet::setWombatBboContract | ( | MamdaOptionContract * | contract | ) |
Set the contract for the best bid and offer, as calculated by NYSE Technologies.
void Wombat::MamdaOptionContractSet::setExchangeContract | ( | const char * | exchange, |
MamdaOptionContract * | contract | ||
) |
Set the contract for the particular exchange.
MamdaOptionContract* Wombat::MamdaOptionContractSet::getBboContract | ( | ) | const |
Return the contract for the best bid and offer.
MamdaOptionContract* Wombat::MamdaOptionContractSet::getWombatBboContract | ( | ) | const |
Return the contract for the best bid and offer, as calculated by NYSE Technologies.
MamdaOptionContract* Wombat::MamdaOptionContractSet::getExchangeContract | ( | const char * | exchange | ) | const |
Return the contract for the particular exchange.