Classes Files

Wombat::MamdaOptionContractSet

A class that represents a set of option contracts at a given strike price.

Public Functions

  Name
  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 Wombat.
void setExchangeContract(string exchange, MamdaOptionContract contract)
Set the contract for the particular exchange.
MamdaOptionContract getBboContract()
Return the contract for the best bid and offer.
MamdaOptionContract getWombatBboContract()
Return the contract for the best bid and offer, as calculated by Wombat.
MamdaOptionContract getExchangeContract(string exchange)
Return the contract for the particular exchange.
Collection getExchangeContracts()
Return the set of individual regional exchange option contracts. The type of object in the set is a instance of MamdaOptionContract.
Set getExchanges()
Return the set of individual regional exchange identifiers The type of object in the set is a instance of String.

Public Functions Documentation

function MamdaOptionContractSet

MamdaOptionContractSet()

function setBboContract

void setBboContract(
    MamdaOptionContract contract
)

Set the contract for the best bid and offer.

Parameters:

  • contract

function setWombatBboContract

void setWombatBboContract(
    MamdaOptionContract contract
)

Set the contract for the best bid and offer, as calculated by Wombat.

Parameters:

  • contract

function setExchangeContract

void setExchangeContract(
    string exchange,
    MamdaOptionContract contract
)

Set the contract for the particular exchange.

Parameters:

  • exchange
  • contract

function getBboContract

MamdaOptionContract getBboContract()

Return the contract for the best bid and offer.

Return:

function getWombatBboContract

MamdaOptionContract getWombatBboContract()

Return the contract for the best bid and offer, as calculated by Wombat.

Return:

function getExchangeContract

MamdaOptionContract getExchangeContract(
    string exchange
)

Return the contract for the particular exchange.

Parameters:

  • exchange

Return:

function getExchangeContracts

Collection getExchangeContracts()

Return the set of individual regional exchange option contracts. The type of object in the set is a instance of MamdaOptionContract.

Return:

function getExchanges

Set getExchanges()

Return the set of individual regional exchange identifiers The type of object in the set is a instance of String.

Return:


Updated on 2023-03-31 at 15:30:16 +0100