Class MamdaOptionStrikeSet


  • public class MamdaOptionStrikeSet
    extends java.lang.Object
    A 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)  
    • Constructor Detail

      • MamdaOptionStrikeSet

        public MamdaOptionStrikeSet​(java.util.Date expireDate,
                                    double strikePrice)
    • 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.