All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xeiam.xchange.coinsetter.dto.marketdata.CoinsetterLevel Maven / Gradle / Ivy

package com.xeiam.xchange.coinsetter.dto.marketdata;

import java.math.BigDecimal;

/**
 * cumulative available quantity in real time based on price level.
 */
public class CoinsetterLevel {

  private final int sequenceNumber;
  private final String side;
  private final int level;
  private final BigDecimal size;
  private final String exchangeId;
  private final long timeStamp;

  public CoinsetterLevel(int sequenceNumber, String side, int level, BigDecimal size, String exchangeId, long timeStamp) {

    this.sequenceNumber = sequenceNumber;
    this.side = side;
    this.level = level;
    this.size = size;
    this.exchangeId = exchangeId;
    this.timeStamp = timeStamp;
  }

  public int getSequenceNumber() {

    return sequenceNumber;
  }

  public String getSide() {

    return side;
  }

  public int getLevel() {

    return level;
  }

  public BigDecimal getSize() {

    return size;
  }

  public String getExchangeId() {

    return exchangeId;
  }

  public long getTimeStamp() {

    return timeStamp;
  }

  @Override
  public String toString() {

    return "CoinsetterLevel [sequenceNumber=" + sequenceNumber + ", side=" + side + ", level=" + level + ", size=" + size + ", exchangeId="
        + exchangeId + ", timeStamp=" + timeStamp + "]";
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy