public final class Ticker extends Object
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.
Modifier and Type | Class and Description |
---|---|
static class |
Ticker.Builder
Builder to provide the following to
Ticker : |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getAsk() |
BigDecimal |
getBid() |
CurrencyPair |
getCurrencyPair() |
BigDecimal |
getHigh() |
BigDecimal |
getLast() |
BigDecimal |
getLow() |
Date |
getTimestamp() |
BigDecimal |
getVolume() |
BigDecimal |
getVwap() |
String |
toString() |
public CurrencyPair getCurrencyPair()
public BigDecimal getLast()
public BigDecimal getBid()
public BigDecimal getAsk()
public BigDecimal getHigh()
public BigDecimal getLow()
public BigDecimal getVwap()
public BigDecimal getVolume()
public Date getTimestamp()
Copyright © 2012–2016 Xeiam, LLC. All rights reserved.