Package com.wombat.mamda.options
Class MamdaOptionContractSet
- java.lang.Object
-
- com.wombat.mamda.options.MamdaOptionContractSet
-
public class MamdaOptionContractSet extends java.lang.Object
A class that represents a set of option contracts at a given strike price.
-
-
Constructor Summary
Constructors Constructor Description MamdaOptionContractSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MamdaOptionContract
getBboContract()
Return the contract for the best bid and offer.MamdaOptionContract
getExchangeContract(java.lang.String exchange)
Return the contract for the particular exchange.java.util.Collection
getExchangeContracts()
Return the set of individual regional exchange option contracts.java.util.Set
getExchanges()
Return the set of individual regional exchange identifiers.MamdaOptionContract
getWombatBboContract()
Return the contract for the best bid and offer, as calculated by NYSE Technologies.void
setBboContract(MamdaOptionContract contract)
Set the contract for the best bid and offer.void
setExchangeContract(java.lang.String exchange, MamdaOptionContract contract)
Set the contract for the particular exchange.void
setWombatBboContract(MamdaOptionContract contract)
Set the contract for the best bid and offer, as calculated by NYSE Technologies.
-
-
-
Method Detail
-
setBboContract
public void setBboContract(MamdaOptionContract contract)
Set the contract for the best bid and offer.
-
setWombatBboContract
public void setWombatBboContract(MamdaOptionContract contract)
Set the contract for the best bid and offer, as calculated by NYSE Technologies.
-
setExchangeContract
public void setExchangeContract(java.lang.String exchange, MamdaOptionContract contract)
Set the contract for the particular exchange.
-
getBboContract
public MamdaOptionContract getBboContract()
Return the contract for the best bid and offer.
-
getWombatBboContract
public MamdaOptionContract getWombatBboContract()
Return the contract for the best bid and offer, as calculated by NYSE Technologies.
-
getExchangeContract
public MamdaOptionContract getExchangeContract(java.lang.String exchange)
Return the contract for the particular exchange.
-
getExchangeContracts
public java.util.Collection getExchangeContracts()
Return the set of individual regional exchange option contracts. The type of object in the set is a instance of MamdaOptionContract.
-
getExchanges
public java.util.Set getExchanges()
Return the set of individual regional exchange identifiers. The type of object in the set is a instance of String.
-
-