Class SecurityQuote


  • public class SecurityQuote
    extends Object
    Quote of a security.
    • Constructor Detail

      • SecurityQuote

        public SecurityQuote()
    • 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 cumulative trading volume.
        Returns:
        the cumulative trading volume
      • getTurnover

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

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

        public PrePostQuote getPreMarketQuote()
        Returns the pre-market quote (US stocks only), or null if not available.
        Returns:
        the pre-market quote, or null if not available
      • getPostMarketQuote

        public PrePostQuote getPostMarketQuote()
        Returns the post-market quote (US stocks only), or null if not available.
        Returns:
        the post-market quote, or null if not available
      • getOvernightQuote

        public PrePostQuote getOvernightQuote()
        Returns the overnight quote (US stocks only), or null if not available.
        Returns:
        the overnight quote, or null if not available