Package org.knowm.xchange.dto.marketdata
Class Ticker
java.lang.Object
org.knowm.xchange.dto.marketdata.Ticker
- All Implemented Interfaces:
Serializable
A class encapsulating the information a "Ticker" can contain. Some fields can be empty if not
provided by the exchange.
A ticker contains data representing the latest trade.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder to provide the following toTicker
: Provision of fluent chained construction interface -
Method Summary
-
Method Details
-
getInstrument
-
getCurrencyPair
Deprecated.CurrencyPair is a subtype of Instrument - this method will throw an exception if the order was for a derivativeuse
getInstrument()
instead -
getOpen
-
getLast
-
getBid
-
getAsk
-
getHigh
-
getLow
-
getVwap
-
getVolume
-
getQuoteVolume
-
getTimestamp
-
getBidSize
-
getAskSize
-
getPercentageChange
-
toString
-
equals
-
hashCode
public int hashCode()
-