/api/v1/smart_trades/:id/add_funds
Adds funds to an active SmartTrade, increasing the total trade volume and dollar-cost-averaging the entry price at any moment.
Path Parameter
Unique Quentrade ID for this SmartTrade entity.
Body Parameters
3Order execution type for adding funds to this SmartTrade: market or limit.
Defines the amount of units to add into this SmartTrade.
Specifies the number of units to purchase.
Provides pricing details for the limit order. This parameter is required if order_type is set to limit.
Execution price for the limit order.
Response Parameters
If successful, the response includes an updated copy of the SmartTrade entity with re-calculated position volume, entered totals, and average prices.
Example Request
Example Responses
Returns HTTP 201 Created on success, 400 Bad Request on invalid status/type, or 422 Unprocessable Entity on validation error.