
com.xeiam.xchange.cointrader.dto.trade.CointraderTradeHistoryRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-cointrader Show documentation
Show all versions of xchange-cointrader Show documentation
XChange implementation for the Cointrader Exchange
The newest version!
package com.xeiam.xchange.cointrader.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xeiam.xchange.cointrader.dto.CointraderRequest;
public class CointraderTradeHistoryRequest extends CointraderRequest {
@JsonProperty
@JsonSerialize(using = ToStringSerializer.class)
private final Integer limit;
@JsonProperty
@JsonSerialize(using = ToStringSerializer.class)
private final Integer offset;
@JsonProperty
@JsonSerialize(using = ToStringSerializer.class)
private final Long since;
public CointraderTradeHistoryRequest(Integer limit, Integer offset, Long sinceTradeId) {
this.limit = limit;
this.offset = offset;
this.since = sinceTradeId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy