Requires authentication.
Methods
create
Create a new order on a market.Parameters
Order Intent
Time in Force
list
Get all open orders.cancel
Cancel a specific order.cancelAll
Cancel all open orders, optionally filtered by market.preview
Preview an order before submitting. Returns estimated fills and costs.closePosition
Close an existing position at market price. This sells your entire position in a single call.closePosition vs Sell Order
Use
closePosition when you want to fully exit a position at market price. Use a sell order (ORDER_INTENT_SELL_LONG or ORDER_INTENT_SELL_SHORT) when you need to sell a specific quantity or set a limit price.