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>
public class BitfinexLimitOrder extends 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBitfinexLimitOrder.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
Constructors Constructor Description BitfinexLimitOrder(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetOcoStopLimit()BitfinexOrderStatusResponsegetResponse()voidsetOcoStopLimit(BigDecimal ocoStopLimit)voidsetResponse(BitfinexOrderStatusResponse value)-
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 Detail
-
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 Detail
-
getResponse
public BitfinexOrderStatusResponse getResponse()
-
setResponse
public void setResponse(BitfinexOrderStatusResponse value)
-
getOcoStopLimit
public BigDecimal getOcoStopLimit()
-
setOcoStopLimit
public void setOcoStopLimit(BigDecimal ocoStopLimit)
-
-