Class BinanceTicker24h
java.lang.Object
org.knowm.xchange.binance.dto.marketdata.BinanceTicker24h
public final class BinanceTicker24h extends Object
-
Constructor Summary
Constructors Constructor Description BinanceTicker24h(BigDecimal priceChange, BigDecimal priceChangePercent, BigDecimal weightedAvgPrice, BigDecimal prevClosePrice, BigDecimal lastPrice, BigDecimal lastQty, BigDecimal bidPrice, BigDecimal bidQty, BigDecimal askPrice, BigDecimal askQty, BigDecimal openPrice, BigDecimal highPrice, BigDecimal lowPrice, BigDecimal volume, BigDecimal quoteVolume, long openTime, long closeTime, long firstId, long lastId, long count, String symbol) -
Method Summary
Modifier and Type Method Description BigDecimalgetAskPrice()BigDecimalgetAskQty()BigDecimalgetBidPrice()BigDecimalgetBidQty()DategetCloseTime()CurrencyPairgetCurrencyPair()longgetFirstTradeId()BigDecimalgetHighPrice()BigDecimalgetLastPrice()BigDecimalgetLastQty()longgetLastTradeId()BigDecimalgetLowPrice()BigDecimalgetOpenPrice()DategetOpenTime()BigDecimalgetPrevClosePrice()BigDecimalgetPriceChange()BigDecimalgetPriceChangePercent()BigDecimalgetQuoteVolume()StringgetSymbol()longgetTradeCount()BigDecimalgetVolume()BigDecimalgetWeightedAvgPrice()voidsetCurrencyPair(CurrencyPair pair)TickertoTicker()
-
Constructor Details
-
BinanceTicker24h
public BinanceTicker24h(BigDecimal priceChange, BigDecimal priceChangePercent, BigDecimal weightedAvgPrice, BigDecimal prevClosePrice, BigDecimal lastPrice, BigDecimal lastQty, BigDecimal bidPrice, BigDecimal bidQty, BigDecimal askPrice, BigDecimal askQty, BigDecimal openPrice, BigDecimal highPrice, BigDecimal lowPrice, BigDecimal volume, BigDecimal quoteVolume, long openTime, long closeTime, long firstId, long lastId, long count, String symbol)
-
-
Method Details
-
getSymbol
-
getCurrencyPair
-
setCurrencyPair
-
getPriceChange
-
getPriceChangePercent
-
getWeightedAvgPrice
-
getPrevClosePrice
-
getLastPrice
-
getLastQty
-
getBidPrice
-
getBidQty
-
getAskPrice
-
getAskQty
-
getOpenPrice
-
getHighPrice
-
getLowPrice
-
getVolume
-
getQuoteVolume
-
getFirstTradeId
public long getFirstTradeId() -
getLastTradeId
public long getLastTradeId() -
getTradeCount
public long getTradeCount() -
getOpenTime
-
getCloseTime
-
toTicker
-