Package com.wombat.mamda.options
Class MamdaOptionStrikeSet
- java.lang.Object
-
- com.wombat.mamda.options.MamdaOptionStrikeSet
-
public class MamdaOptionStrikeSet extends java.lang.ObjectA class that represents the call and put contract sets at a given strike price.
-
-
Constructor Summary
Constructors Constructor Description MamdaOptionStrikeSet(java.util.Date expireDate, double strikePrice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MamdaOptionContractSetgetCallSet()Return a set of call option contracts at a given strike price.java.util.DategetExpireDate()Return the expiration date for the contracts at the given strike price.java.lang.StringgetExpireDateStr()Return the expiration date as a string for the contracts at the given strike price.MamdaOptionContractSetgetPutSet()Return a set of put option contracts at a given strike price.doublegetStrikePrice()Return the strike price.
-
-
-
Method Detail
-
getCallSet
public MamdaOptionContractSet getCallSet()
Return a set of call option contracts at a given strike price.- Returns:
- MamdaOptionContractSet Set of call contracts at the given strike price.
-
getPutSet
public MamdaOptionContractSet getPutSet()
Return a set of put option contracts at a given strike price.- Returns:
- MamdaOptionContractSet Set of put contracts at the given strike price.
-
getExpireDate
public java.util.Date getExpireDate()
Return the expiration date for the contracts at the given strike price.- Returns:
- Date The expiration date.
-
getExpireDateStr
public java.lang.String getExpireDateStr()
Return the expiration date as a string for the contracts at the given strike price.- Returns:
- String The expiration date.
-
getStrikePrice
public double getStrikePrice()
Return the strike price.- Returns:
- double The strike price.
-
-