Class LatokenOrderbook

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

public final class LatokenOrderbook
extends Object
Response schema:
 {
        "pairId": 502,
        "symbol": "LAETH",
        "spread": 0.07,
        "asks": [
                {
                        "price": 136.3,
                        "amount": 7.024
                }
        ],
        "bids": [
                {
                        "price": 136.2,
                        "amount": 6.554
                }
        ]
 }
 
Author:
Ezer
  • Constructor Details

  • Method Details

    • getPairId

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

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

      public BigDecimal getSpread()
      Spread between top bid and ask in percentage pair symbol
      Returns:
    • getAsks

      public List<PriceLevel> getAsks()
      Ask levels
      Returns:
    • getBids

      public List<PriceLevel> getBids()
      Bid levels
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object