Class CoinbaseProPlaceMarketOrder
java.lang.Object
org.knowm.xchange.coinbasepro.dto.trade.CoinbaseProPlaceOrder
org.knowm.xchange.coinbasepro.dto.trade.CoinbaseProPlaceMarketOrder
public class CoinbaseProPlaceMarketOrder extends CoinbaseProPlaceOrder
MARKET ORDER PARAMETERS
One of size or funds is required.
Param | Description |
---|---|
size | [optional] Desired amount in BTC |
funds | [optional] Desired amount of quote currency to use |
- Author:
- bryant_harris
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoinbaseProPlaceMarketOrder.Builder
Nested classes/interfaces inherited from class org.knowm.xchange.coinbasepro.dto.trade.CoinbaseProPlaceOrder
CoinbaseProPlaceOrder.SelfTradePrevention, CoinbaseProPlaceOrder.Side, CoinbaseProPlaceOrder.Stop, CoinbaseProPlaceOrder.Type
-
Constructor Summary
Constructors Constructor Description CoinbaseProPlaceMarketOrder(String clientOld, CoinbaseProPlaceOrder.Type type, CoinbaseProPlaceOrder.Side side, String productId, CoinbaseProPlaceOrder.SelfTradePrevention stp, CoinbaseProPlaceOrder.Stop stop, BigDecimal stopPrice, BigDecimal size, BigDecimal funds)
-
Method Summary
Modifier and Type Method Description BigDecimal
getFunds()
BigDecimal
getSize()
String
toString()
Methods inherited from class org.knowm.xchange.coinbasepro.dto.trade.CoinbaseProPlaceOrder
getClientOid, getProductId, getSide, getStop, getStopPrice, getStp, getType
-
Constructor Details
-
CoinbaseProPlaceMarketOrder
public CoinbaseProPlaceMarketOrder(String clientOld, CoinbaseProPlaceOrder.Type type, CoinbaseProPlaceOrder.Side side, String productId, CoinbaseProPlaceOrder.SelfTradePrevention stp, CoinbaseProPlaceOrder.Stop stop, BigDecimal stopPrice, BigDecimal size, BigDecimal funds)
-
-
Method Details