Package org.knowm.xchange.kuna.dto
Class KunaTicker
java.lang.Object
org.knowm.xchange.kuna.dto.KunaTicker
Ticker of crypto currency. Instances of this type are immutable, constructed with a dedicated
Builder implementation.
- Author:
- Dat Bui
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic KunaTicker.Builder
builder()
Creates new builder.getBuy()
Returns cryptocurrency price for buy.getHigh()
Returns the highest price of the trade in 24 hours.getLast()
Returns price of the last trade.getLow()
Returns the lowest price of the trade in 24 hours.getPrice()
Returns total price of trading in quote currency for 24 hours.getSell()
Returns cryptocurrency price for sale.getVol()
Returns volume of trading in base currency for 24 hours.toString()
-
Method Details
-
builder
Creates new builder.- Returns:
- builder
-
getBuy
Returns cryptocurrency price for buy.- Returns:
- buy price
-
getSell
Returns cryptocurrency price for sale.- Returns:
- sale price
-
getLow
Returns the lowest price of the trade in 24 hours.- Returns:
- the lowest price
-
getHigh
Returns the highest price of the trade in 24 hours.- Returns:
- the highest price
-
getLast
Returns price of the last trade.- Returns:
- price of the last trade
-
getVol
Returns volume of trading in base currency for 24 hours.- Returns:
- volume of trading
-
getPrice
Returns total price of trading in quote currency for 24 hours.- Returns:
- total price of trading
-
toString
-