Class CoinbaseProPlaceOrder
java.lang.Object
org.knowm.xchange.coinbasepro.dto.trade.CoinbaseProPlaceOrder
- Direct Known Subclasses:
CoinbaseProPlaceLimitOrder
,CoinbaseProPlaceMarketOrder
These parameters are common to all order types. Depending on the order type, additional
parameters will be required (see below).
PARAMETERS
Param | Description |
---|---|
client_oid | [optional] Order ID selected by you to identify your order |
type | [optional] limit or market (default is limit) |
side | buy or sell |
product_id | A valid product id |
stp | [optional] Self-trade prevention flag |
stop | [optional] Either loss or entry. Requires stop_price to be defined. |
stop_price | [optional] Only if stop is defined. Sets trigger price for stop order. |
- Author:
- bryant_harris
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static enum
static enum
-
Constructor Summary
ConstructorDescriptionCoinbaseProPlaceOrder
(String clientOid, CoinbaseProPlaceOrder.Type type, CoinbaseProPlaceOrder.Side side, String productId, CoinbaseProPlaceOrder.SelfTradePrevention stp, CoinbaseProPlaceOrder.Stop stop, BigDecimal stopPrice) -
Method Summary
-
Constructor Details
-
CoinbaseProPlaceOrder
public CoinbaseProPlaceOrder(String clientOid, CoinbaseProPlaceOrder.Type type, CoinbaseProPlaceOrder.Side side, String productId, CoinbaseProPlaceOrder.SelfTradePrevention stp, CoinbaseProPlaceOrder.Stop stop, BigDecimal stopPrice)
-
-
Method Details
-
getClientOid
-
getType
-
getSide
-
getProductId
-
getStp
-
getStop
-
getStopPrice
-