Class Candlestick


  • public class Candlestick
    extends Object
    Candlestick (OHLCV bar).
    • Constructor Detail

      • Candlestick

        public Candlestick()
    • Method Detail

      • getClose

        public BigDecimal getClose()
        Returns the closing price.
        Returns:
        the closing price
      • getOpen

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

        public BigDecimal getLow()
        Returns the lowest price.
        Returns:
        the lowest price
      • getHigh

        public BigDecimal getHigh()
        Returns the highest price.
        Returns:
        the highest price
      • getVolume

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

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

        public OffsetDateTime getTimestamp()
        Returns the timestamp of this candlestick.
        Returns:
        the timestamp
      • getTradeSession

        public TradeSession getTradeSession()
        Returns the trade session this candlestick belongs to.
        Returns:
        the trade session