OpenMAMA
Wombat::MamdaOptionStrikeSet Class Reference

A class that represents the call and put contract sets at a given strike price. More...

#include <MamdaOptionStrikeSet.h>

Public Member Functions

 MamdaOptionStrikeSet (const MamaDateTime &expireDate, double strikePrice)
 
 ~MamdaOptionStrikeSet ()
 
MamdaOptionContractSetgetCallSet ()
 Return a set of call contracts at the given strike price. More...
 
const MamdaOptionContractSetgetCallSet () const
 Return a set of call contracts at the given strike price. More...
 
MamdaOptionContractSetgetPutSet ()
 Return a set of put contracts at the given strike price. More...
 
const MamdaOptionContractSetgetPutSet () const
 Return a set of put contracts at the given strike price. More...
 
const MamaDateTime & getExpireDate () const
 Return the expiration date for the contracts at this strike price. More...
 
const char * getExpireDateStr () const
 Return the expiration date for the contracts at this strike price as a string. More...
 
double getStrikePrice () const
 Return the strike price. More...
 

Detailed Description

A class that represents the call and put contract sets at a given strike price.

Constructor & Destructor Documentation

Wombat::MamdaOptionStrikeSet::MamdaOptionStrikeSet ( const MamaDateTime &  expireDate,
double  strikePrice 
)
Wombat::MamdaOptionStrikeSet::~MamdaOptionStrikeSet ( )

Member Function Documentation

MamdaOptionContractSet* Wombat::MamdaOptionStrikeSet::getCallSet ( )

Return a set of call contracts at the given strike price.

Returns
All call contracts at the given strike price.
const MamdaOptionContractSet* Wombat::MamdaOptionStrikeSet::getCallSet ( ) const

Return a set of call contracts at the given strike price.

Returns
All call contracts at the given strike price. (const pointer)
MamdaOptionContractSet* Wombat::MamdaOptionStrikeSet::getPutSet ( )

Return a set of put contracts at the given strike price.

Returns
All put contracts at the given strike price.
const MamdaOptionContractSet* Wombat::MamdaOptionStrikeSet::getPutSet ( ) const

Return a set of put contracts at the given strike price.

Returns
All put contracts at the given strike price. (const pointer)
const MamaDateTime& Wombat::MamdaOptionStrikeSet::getExpireDate ( ) const

Return the expiration date for the contracts at this strike price.

Returns
The expiration date for the contracts at this strike price.
const char* Wombat::MamdaOptionStrikeSet::getExpireDateStr ( ) const

Return the expiration date for the contracts at this strike price as a string.

Returns
The expiration date for the contracts at this strike price.
double Wombat::MamdaOptionStrikeSet::getStrikePrice ( ) const

Return the strike price.

Returns
The strike price represented by this object.

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


© 2012 Linux Foundation