Package info.bitrich.xchangestream.cexio
Class CexioOrder
java.lang.Object
org.knowm.xchange.dto.Order
org.knowm.xchange.dto.trade.LimitOrder
info.bitrich.xchangestream.cexio.CexioOrder
- All Implemented Interfaces:
Serializable
,Comparable<LimitOrder>
- 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
ConstructorDescriptionCexioOrder
(CurrencyPair currencyPair, String id, Order.OrderStatus status, BigDecimal remainingAmount) CexioOrder
(Order.OrderType type, CurrencyPair currencyPair, BigDecimal originalAmount, String id, Date timestamp, BigDecimal limitPrice, BigDecimal fee, Order.OrderStatus status) -
Method Summary
Methods inherited from class org.knowm.xchange.dto.trade.LimitOrder
compareTo, getLimitPrice, toString
Methods inherited from class org.knowm.xchange.dto.Order
addOrderFlag, getAveragePrice, getCumulativeAmount, getCumulativeCounterAmount, getCurrencyPair, getFee, getId, getInstrument, getLeverage, getOrderFlags, getOriginalAmount, getStatus, getTimestamp, getType, getUserReference, hasFlag, setAveragePrice, setCumulativeAmount, setFee, setLeverage, setOrderFlags, setOrderStatus
-
Constructor Details
-
CexioOrder
public CexioOrder(Order.OrderType type, CurrencyPair currencyPair, BigDecimal originalAmount, String id, Date timestamp, BigDecimal limitPrice, BigDecimal fee, Order.OrderStatus status) -
CexioOrder
public CexioOrder(CurrencyPair currencyPair, String id, Order.OrderStatus status, BigDecimal remainingAmount)
-
-
Method Details
-
getRemainingAmount
- Overrides:
getRemainingAmount
in classOrder
- Returns:
- The remaining order amount
-
equals
- Overrides:
equals
in classLimitOrder
-
hashCode
public int hashCode()- Overrides:
hashCode
in classLimitOrder
-