VWAP and TWAPVWAP and TWAP orders must have a minimum notional of $100/hr and also include these additional parameters:
limit_price
, start_time
and expiry_time
.Path Parameters
The ID of the portfolio that owns the order
Body
application/json
- UNKNOWN_ORDER_SIDE: nil value
- BUY: Buy order
- SELL: Sell order
Available options:
BUY
, SELL
- UNKNOWN_ORDER_TYPE: nil value
- MARKET: A market order
- LIMIT: A limit order
- TWAP: A time-weighted average price order
- BLOCK: A block trade
- VWAP: A volume-weighted average price order
- STOP_LIMIT: A conditional order combined of stop order and limit order
- RFQ: A request for quote
Available options:
MARKET
, LIMIT
, TWAP
, BLOCK
, VWAP
, STOP_LIMIT
, RFQ
- UNKNOWN_TIME_IN_FORCE: nil value
- GOOD_UNTIL_DATE_TIME: Expires at a certain date/time
- GOOD_UNTIL_CANCELLED: Order stays on the books until cancelled
- IMMEDIATE_OR_CANCEL: Order is executed immediately at submission or is cancelled
- FILL_OR_KILL: Order is executed immediately and fully at submission or is cancelled
Available options:
GOOD_UNTIL_DATE_TIME
, GOOD_UNTIL_CANCELLED
, IMMEDIATE_OR_CANCEL
, FILL_OR_KILL
Optionally specify a display size. This is the maximum order size that will show up on venue order books. Specifying a value here effectively makes a LIMIT order into an "iceberg" style order. This property only applies to LIMIT orders and will be ignored for other order types.
Post-only flag - when true, the order will only be posted to the order book and not immediately matched. Only applicable to LIMIT orders with GTC or GTD time in force.
next: 20
Response
200 - application/json
A successful response.
The order ID generated by Coinbase
Example:
"ba0eb21c-672b-44de-8342-d6363cef87f0"