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.cancel_all
Cancel all open orders, optionally filtered by market.preview
Preview an order before submitting. Returns estimated fills and costs.close_position
Close an existing position at market price. This sells your entire position in a single call.close_position vs Sell Order
Use
close_position 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.