Class LatokenTicker

java.lang.Object
org.knowm.xchange.latoken.dto.marketdata.LatokenTicker

public final class LatokenTicker extends Object
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 Details

  • Method Details

    • getPairId

      public long getPairId()
      ID of trading pair
      Returns:
    • getSymbol

      public String getSymbol()
      Trading pair symbol
      Returns:
    • getVolume

      public BigDecimal getVolume()
      Traded volume in last 24h
      Returns:
    • getOpen

      public BigDecimal getOpen()
      Open price of ticker
      Returns:
    • getLow

      public BigDecimal getLow()
      Lowest price in last 24h
      Returns:
    • getHigh

      public BigDecimal getHigh()
      Highest price in last 24h
      Returns:
    • getClose

      public BigDecimal getClose()
      Close price of ticker
      Returns:
    • getPriceChange

      public BigDecimal getPriceChange()
      Change of price in last 24h (in percentage)
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object