org.knowm.xchange.hitbtc.v2.dto.HitbtcUserTrade 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 org.knowm.xchange.hitbtc.v2.dto;
import java.math.BigDecimal;
import java.util.Date;
import org.knowm.xchange.currency.Currency;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.dto.Order;
import org.knowm.xchange.dto.trade.UserTrade;
public class HitbtcUserTrade extends UserTrade {
public final String clientOrderId;
public HitbtcUserTrade(
Order.OrderType type,
BigDecimal originalAmount,
CurrencyPair currencyPair,
BigDecimal price,
Date timestamp,
String id,
String orderId,
BigDecimal feeAmount,
Currency feeCurrency,
String clientOrderId) {
super(
type,
originalAmount,
currencyPair,
price,
timestamp,
id,
orderId,
feeAmount,
feeCurrency,
"");
this.clientOrderId = clientOrderId;
}
public String getClientOrderId() {
return clientOrderId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy