Advanced API Order Management
Advanced Trade API offers order management with the Orders API (/orders
).
You can configure orders with the Create Order API and view orders with List Orders.
Fulfillment Policies
Order type fulfillment policies (GTC
, GTD
, IOC
, etc.) correspond to the time-in-force policy for that order type.
- Good Till Canceled (
gtc
): orders remain open on the book until canceled. - Good Till Date (
gtd
): orders are valid till a specified date or time. - Immediate Or Cancel (
ioc
): orders instantly cancel the remaining size of the limit order instead of opening it on the book.
Order Types
Market Orders
Market orders are used to BUY
or SELL
a desired product at the given market price. To buy a product, provide a quote_size
; to sell, provide a base_size
.
Possible Market Order Types
market_market_ioc
Limit Orders
Limit orders are triggered based on the instructions around quantity and price: base_size
represents the quantity of your base currency to spend; limit_price
represents the maximum price at which the order should be filled.
Possible Limit Order Types
limit_limit_gtc
limit_limit_gtd
Stop Orders
Stop orders are triggered based on the movement of the last trade price. The last trade price is the last price at which an order was filled.
Possible Stop Order Types
stop_limit_stop_limit_gtc
stop_limit_stop_limit_gtd