Class TickerDTO


  • public final class TickerDTO
    extends Object
    DTO representing a stock ticker. A ticker is a report of the price of certain securities, updated continuously throughout the trading session.
    • Method Detail

      • getBaseCurrency

        public CurrencyDTO getBaseCurrency()
        Returns base currency.
        Returns:
        base currency
      • getQuoteCurrency

        public CurrencyDTO getQuoteCurrency()
        Returns quote currency.
        Returns:
        quote currency
      • getTimestamp

        public ZonedDateTime getTimestamp()
        Getter timestamp.
        Returns:
        timestamp
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • getCurrencyPair

        public CurrencyPairDTO getCurrencyPair()
        Currency pair.
      • getOpen

        public BigDecimal getOpen()
        The opening price is the first trade price that was recorded during the day’s trading.
      • getLast

        public BigDecimal getLast()
        Last trade field is the price set during the last trade.
      • getBid

        public BigDecimal getBid()
        The bid price shown represents the highest bid price.
      • getAsk

        public BigDecimal getAsk()
        The ask price shown represents the lowest bid price.
      • getHigh

        public BigDecimal getHigh()
        The day’s high price.
      • getLow

        public BigDecimal getLow()
        The day’s low price.
      • getVwap

        public BigDecimal getVwap()
        Volume-weighted average price (VWAP) is the ratio of the value traded to total volume traded over a particular time horizon (usually one day).
      • getVolume

        public BigDecimal getVolume()
        Volume is the number of shares or contracts traded.
      • getQuoteVolume

        public BigDecimal getQuoteVolume()
        Quote volume.
      • getBidSize

        public BigDecimal getBidSize()
        The bid size represents the quantity of a security that investors are willing to purchase at a specified bid price.
      • getAskSize

        public BigDecimal getAskSize()
        The ask size represents the quantity of a security that investors are willing to sell at a specified selling price.