Package org.knowm.xchange.hitbtc.v2.dto
Class HitbtcLimitOrder
java.lang.Object
org.knowm.xchange.dto.Order
org.knowm.xchange.dto.trade.LimitOrder
org.knowm.xchange.hitbtc.v2.dto.HitbtcLimitOrder
- All Implemented Interfaces:
Serializable
,Comparable<LimitOrder>
Deprecated.
This class was originally written in order to support an order ID provided by the client, that
functionality is now implemented as 'userReference' as part of LimitOrder class. Hence, this
class is no longer needed, it still exists here simply for backward compatibility.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.knowm.xchange.dto.trade.LimitOrder
LimitOrder.Builder
Nested classes/interfaces inherited from class org.knowm.xchange.dto.Order
Order.IOrderFlags, Order.OrderStatus, Order.OrderType
-
Field Summary
Fields inherited from class org.knowm.xchange.dto.trade.LimitOrder
limitPrice
-
Constructor Summary
ConstructorsConstructorDescriptionHitbtcLimitOrder
(Order.OrderType type, BigDecimal originalAmount, BigDecimal cumulativeAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice, String clientOrderId) Deprecated.HitbtcLimitOrder
(Order.OrderType type, BigDecimal originalAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice, String clientOrderId) Deprecated.HitbtcLimitOrder
(Order.OrderType type, BigDecimal originalAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice, BigDecimal averagePrice, BigDecimal cumulativeAmount, BigDecimal fee, Order.OrderStatus status, String clientOrderId) Deprecated. -
Method Summary
Methods inherited from class org.knowm.xchange.dto.trade.LimitOrder
compareTo, equals, getLimitPrice, hashCode, toString
Methods inherited from class org.knowm.xchange.dto.Order
addOrderFlag, getAveragePrice, getCumulativeAmount, getCumulativeCounterAmount, getCurrencyPair, getFee, getId, getInstrument, getLeverage, getOrderFlags, getOriginalAmount, getRemainingAmount, getStatus, getTimestamp, getType, getUserReference, hasFlag, setAveragePrice, setCumulativeAmount, setFee, setLeverage, setOrderFlags, setOrderStatus
-
Constructor Details
-
HitbtcLimitOrder
public HitbtcLimitOrder(Order.OrderType type, BigDecimal originalAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice, String clientOrderId) Deprecated. -
HitbtcLimitOrder
public HitbtcLimitOrder(Order.OrderType type, BigDecimal originalAmount, BigDecimal cumulativeAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice, String clientOrderId) Deprecated. -
HitbtcLimitOrder
public HitbtcLimitOrder(Order.OrderType type, BigDecimal originalAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice, BigDecimal averagePrice, BigDecimal cumulativeAmount, BigDecimal fee, Order.OrderStatus status, String clientOrderId) Deprecated.
-
-
Method Details
-
getClientOrderId
Deprecated.
-
LimitOrder
with user reference instead.