Class OptionQuote


  • public class OptionQuote
    extends Object
    Quote of an option security.
    • Constructor Detail

      • OptionQuote

        public OptionQuote()
    • Method Detail

      • getSymbol

        public String getSymbol()
        Returns the security code.
        Returns:
        the security code
      • getLastDone

        public BigDecimal getLastDone()
        Returns the latest price.
        Returns:
        the latest price
      • getPrevClose

        public BigDecimal getPrevClose()
        Returns yesterday's closing price.
        Returns:
        yesterday's closing price
      • getOpen

        public BigDecimal getOpen()
        Returns the opening price.
        Returns:
        the opening price
      • getHigh

        public BigDecimal getHigh()
        Returns the highest price of the day.
        Returns:
        the highest price of the day
      • getLow

        public BigDecimal getLow()
        Returns the lowest price of the day.
        Returns:
        the lowest price of the day
      • getTimestamp

        public OffsetDateTime getTimestamp()
        Returns the timestamp of the latest price.
        Returns:
        the timestamp of the latest price
      • getVolume

        public long getVolume()
        Returns the trading volume.
        Returns:
        the trading volume
      • getTurnover

        public BigDecimal getTurnover()
        Returns the turnover.
        Returns:
        the turnover
      • getTradeStatus

        public TradeStatus getTradeStatus()
        Returns the security trading status.
        Returns:
        the security trading status
      • getImpliedVolatility

        public BigDecimal getImpliedVolatility()
        Returns the implied volatility.
        Returns:
        the implied volatility
      • getOpenInterest

        public long getOpenInterest()
        Returns the number of open positions.
        Returns:
        the number of open positions
      • getExpiryDate

        public LocalDate getExpiryDate()
        Returns the option expiry date.
        Returns:
        the option expiry date
      • getStrikePrice

        public BigDecimal getStrikePrice()
        Returns the strike price.
        Returns:
        the strike price
      • getContractMultiplier

        public BigDecimal getContractMultiplier()
        Returns the contract multiplier.
        Returns:
        the contract multiplier
      • getContractType

        public OptionType getContractType()
        Returns the option type (American / European).
        Returns:
        the option type
      • getContractSize

        public BigDecimal getContractSize()
        Returns the contract size.
        Returns:
        the contract size
      • getDirection

        public OptionDirection getDirection()
        Returns the option direction (Put / Call).
        Returns:
        the option direction
      • getHistoricalVolatility

        public BigDecimal getHistoricalVolatility()
        Returns the underlying security's historical volatility.
        Returns:
        the historical volatility
      • getUnderlyingSymbol

        public String getUnderlyingSymbol()
        Returns the underlying security symbol.
        Returns:
        the underlying security symbol