cURL
Trading
private/close_position
Places a reduce-only order to close an existing position. Reduce-only orders can only reduce or close a position; they cannot open a new position or increase an existing one.
You can specify whether to use a market or limit order. If using a limit order, provide the price. The order will automatically be set to reduce-only to ensure it only closes the position.
Scope: rat#trade or wallet:buys:create
GET
cURL
Query Parameters
Instrument name Unique instrument identifier
Example:
"BTC-PERPETUAL"
The order type
Available options:
limit, market Optional price for limit order.