/api/v1/smart_trades/:id/reduce_funds
Starts the process of reducing funds from an active SmartTrade. New sell orders will be created on the exchange to partially close the position and lock in funds.
Path Parameter
Unique Quentrade ID for this SmartTrade entity.
Body Parameters
3Order execution type for reducing funds in this SmartTrade: market or limit.
Defines the amount of units to reduce in this SmartTrade.
Specifies the number of units to sell.
Provides pricing details for the limit order. This parameter is required if order_type is set to limit.
Price for limit order.
Response Parameters
If successful, the response includes an updated copy of the SmartTrade entity with the new reduce_funds step and updated pending status.
Example Request
Example Responses
Returns HTTP 201 Created on success, 400 Bad Request if status is invalid or amount exceeds quota, or 422 Unprocessable Entity on validation error.