Class KunaTicker

java.lang.Object
org.knowm.xchange.kuna.dto.KunaTicker

public class KunaTicker extends Object
Ticker of crypto currency. Instances of this type are immutable, constructed with a dedicated Builder implementation.
Author:
Dat Bui
  • Method Details

    • builder

      public static KunaTicker.Builder builder()
      Creates new builder.
      Returns:
      builder
    • getBuy

      public BigDecimal getBuy()
      Returns cryptocurrency price for buy.
      Returns:
      buy price
    • getSell

      public BigDecimal getSell()
      Returns cryptocurrency price for sale.
      Returns:
      sale price
    • getLow

      public BigDecimal getLow()
      Returns the lowest price of the trade in 24 hours.
      Returns:
      the lowest price
    • getHigh

      public BigDecimal getHigh()
      Returns the highest price of the trade in 24 hours.
      Returns:
      the highest price
    • getLast

      public BigDecimal getLast()
      Returns price of the last trade.
      Returns:
      price of the last trade
    • getVol

      public BigDecimal getVol()
      Returns volume of trading in base currency for 24 hours.
      Returns:
      volume of trading
    • getPrice

      public BigDecimal getPrice()
      Returns total price of trading in quote currency for 24 hours.
      Returns:
      total price of trading
    • toString

      public String toString()
      Overrides:
      toString in class Object