Class GeminiLimitOrder
java.lang.Object
org.knowm.xchange.dto.Order
org.knowm.xchange.dto.trade.LimitOrder
org.knowm.xchange.gemini.v1.dto.trade.GeminiLimitOrder
- All Implemented Interfaces:
Serializable
,Comparable<LimitOrder>
public class GeminiLimitOrder extends LimitOrder
Gemini order response contains details of any trades that have just executed in the order entry
return value. If a LimitOrder 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 class
GeminiLimitOrder.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 GeminiLimitOrder(Order.OrderType type, BigDecimal originalAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice)
-
Method Summary
Modifier and Type Method Description GeminiOrderStatusResponse
getResponse()
void
setResponse(GeminiOrderStatusResponse 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 Details
-
GeminiLimitOrder
public GeminiLimitOrder(Order.OrderType type, BigDecimal originalAmount, CurrencyPair currencyPair, String id, Date timestamp, BigDecimal limitPrice)
-
-
Method Details
-
getResponse
-
setResponse
-