Class LatokenTicker
java.lang.Object
org.knowm.xchange.latoken.dto.marketdata.LatokenTicker
Response schema:
{
"pairId": 502,
"symbol": "LAETH",
"volume": 1023314.3202,
"open": 134.82,
"low": 133.95,
"high": 136.22,
"close": 135.12,
"priceChange": 0.22
}
- Author:
- Ezer
-
Constructor Summary
ConstructorsConstructorDescriptionLatokenTicker(long pairId, String symbol, BigDecimal volume, BigDecimal open, BigDecimal low, BigDecimal high, BigDecimal close, BigDecimal priceChange) C'tor -
Method Summary
-
Constructor Details
-
LatokenTicker
public LatokenTicker(long pairId, String symbol, BigDecimal volume, BigDecimal open, BigDecimal low, BigDecimal high, BigDecimal close, BigDecimal priceChange) C'tor- Parameters:
pairId-symbol-volume-open-low-high-close-priceChange-
-
-
Method Details
-
getPairId
public long getPairId()ID of trading pair- Returns:
-
getSymbol
Trading pair symbol- Returns:
-
getVolume
Traded volume in last 24h- Returns:
-
getOpen
Open price of ticker- Returns:
-
getLow
Lowest price in last 24h- Returns:
-
getHigh
Highest price in last 24h- Returns:
-
getClose
Close price of ticker- Returns:
-
getPriceChange
Change of price in last 24h (in percentage)- Returns:
-
toString
-