Class BitfinexLimitOrder
java.lang.Object
org.knowm.xchange.dto.Order
org.knowm.xchange.dto.trade.LimitOrder
org.knowm.xchange.bitfinex.v1.dto.trade.BitfinexLimitOrder
- All Implemented Interfaces:
Serializable
,Comparable<LimitOrder>
Bitfinex new order entry returns details of order status. If a LimitOrder object of this type is
supplied to the trade service orderEntry method it will be populated with this information.
- See Also:
-
Nested Class Summary
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
ConstructorDescriptionBitfinexLimitOrder
(Order.OrderType type, BigDecimal originalAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice) BitfinexLimitOrder
(Order.OrderType type, BigDecimal originalAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice, BigDecimal ocoStopLimit) -
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
-
BitfinexLimitOrder
public BitfinexLimitOrder(Order.OrderType type, BigDecimal originalAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice) -
BitfinexLimitOrder
public BitfinexLimitOrder(Order.OrderType type, BigDecimal originalAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice, BigDecimal ocoStopLimit)
-
-
Method Details
-
getResponse
-
setResponse
-
getOcoStopLimit
-
setOcoStopLimit
-