com.xeiam.xchange.quoine.dto.marketdata.QuoineOrderBook Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-quoine Show documentation
Show all versions of xchange-quoine Show documentation
XChange implementation for the Quoine Exchange
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