
com.xeiam.xchange.hitbtc.dto.marketdata.HitbtcTrades Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-hitbtc Show documentation
Show all versions of xchange-hitbtc Show documentation
XChange implementation for Hitbtc exchange
The newest version!
package com.xeiam.xchange.hitbtc.dto.marketdata;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author kpysniak
*/
public class HitbtcTrades {
private final HitbtcTrade[] hitbtcTrades;
/**
* Constructor
*
* @param hitbtcTrades
*/
public HitbtcTrades(@JsonProperty("trades") HitbtcTrade[] hitbtcTrades) {
this.hitbtcTrades = hitbtcTrades;
}
public HitbtcTrade[] getHitbtcTrades() {
return hitbtcTrades;
}
@Override
public String toString() {
return "HitbtcTrades{" + "trades=" + Arrays.toString(hitbtcTrades) + '}';
}
public static enum HitbtcTradesSortOrder {
SORT_BY_TRADE_ID("trade_id"), SORT_BY_TIMESTAMP("ts");
private final String hitbtcTradesSortOrder;
HitbtcTradesSortOrder(String hitbtcTradesSortOrder) {
this.hitbtcTradesSortOrder = hitbtcTradesSortOrder;
}
@Override
public String toString() {
return hitbtcTradesSortOrder;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy