v1
latestOpenAPI 3.0.12026-07-2683220192.3 KBOrders
Close Position Order
Create an order to close an existing position in a market. This will sell all contracts held in the specified market.
post/v1/order/close-position
Request body
Example request
{
"slippageTolerance": {
"currentPrice": {
"value": "123.45"
}
}
}Response
Position order closed successfully