
com.xeiam.xchange.okcoin.dto.marketdata.OkCoinTicker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-okcoin Show documentation
Show all versions of xchange-okcoin Show documentation
XChange implementation for OKCoin
package com.xeiam.xchange.okcoin.dto.marketdata;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonProperty;
public class OkCoinTicker {
private final BigDecimal high;
private final BigDecimal low;
private final BigDecimal buy;
private final BigDecimal sell;
private final BigDecimal last;
private final BigDecimal vol;
public OkCoinTicker(@JsonProperty("high") final BigDecimal high, @JsonProperty("low") final BigDecimal low,
@JsonProperty("buy") final BigDecimal buy, @JsonProperty("sell") final BigDecimal sell, @JsonProperty("last") final BigDecimal last,
@JsonProperty("vol") final BigDecimal vol) {
this.high = high;
this.low = low;
this.buy = buy;
this.sell = sell;
this.last = last;
this.vol = vol;
}
/**
* @return the high
*/
public BigDecimal getHigh() {
return high;
}
/**
* @return the low
*/
public BigDecimal getLow() {
return low;
}
/**
* @return the buy
*/
public BigDecimal getBuy() {
return buy;
}
/**
* @return the sell
*/
public BigDecimal getSell() {
return sell;
}
/**
* @return the last
*/
public BigDecimal getLast() {
return last;
}
/**
* @return the vol
*/
public BigDecimal getVol() {
return vol;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy