Close Position Order
close_position_orderCreates an order to sell all contracts held in a specified market, closing an existing position and updating live account state.
Instructions
LIVE ACCOUNT ACTION: Create an order to close an existing position in a market. This will sell all contracts held in the specified market. This operation may affect real funds or account state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request to create an order to close a position |