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

com.xeiam.xchange.quoine.dto.marketdata.QuoineOrderBook Maven / Gradle / Ivy

The newest version!
package com.xeiam.xchange.quoine.dto.marketdata;

import java.math.BigDecimal;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author timmolter
 */
public final class QuoineOrderBook {

  private final List> buyPriceLevels;

  private final List> sellPriceLevels;

  /**
   * Constructor
   *
   * @param buyPriceLevels
   * @param sellPriceLevels
   */
  public QuoineOrderBook(@JsonProperty("buy_price_levels") List> buyPriceLevels,
      @JsonProperty("sell_price_levels") List> sellPriceLevels) {

    this.buyPriceLevels = buyPriceLevels;
    this.sellPriceLevels = sellPriceLevels;
  }

  public List> getBuyPriceLevels() {
    return buyPriceLevels;
  }

  public List> getSellPriceLevels() {
    return sellPriceLevels;
  }

  @Override
  public String toString() {
    return "QuoineOrderBook [buyPriceLevels=" + buyPriceLevels + ", sellPriceLevels=" + sellPriceLevels + "]";
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy