/api/v1/smart_trades
Creates a new SmartTrade entity. Creating SmartTrade is available for exchange accounts where the parameter smart_trading_supported is true.
Request Parameters
9ID of the exchange account entity where this trade will be created.
Trading pair in Quentrade format (e.g. USDT_BTC). Use the All market pairs endpoint to obtain valid pairs.
Used for creating SmartTrade of type Simple Buy or Simple Sell. Set to true to execute immediate market order without TP/SL rules. Default: false
Set to true to create a Smart Sell or Smart Buy — skips position entry step and places only take profit / stop loss for an already-held position. Default: false
Details of the Leverage applied to margin or futures SmartTrades.
Enables leverage settings for this SmartTrade. Set to true to activate. Default: false
Leverage type for the futures account: cross or isolated. Default: cross
Cross or isolated leverage value based on exchange rules and currency limits.
Settings of the Position applied to this SmartTrade.
The type of position trade for this SmartTrade: market, limit, or conditional.
The order side to enter a position: buy or sell.
Details of units applied to this SmartTrade. Contains [value: string] specifying the amount of units based on exchange rules.
Price settings. Required for limit or conditional type orders. Contains [value: number].
Settings of the conditional trigger order: [order_type: string] (market, limit), [price: object] (type: bid/ask/last, value: number), and [trailing: object] (enabled: boolean, percent: number).
Details of Take Profit settings and multi-target steps applied to this SmartTrade.
Enables Take Profit for this SmartTrade. Set to true to activate. Default: false
Detailed information about each Take Profit step including [order_type: market/limit], [volume: number] (volume percentage), [price: object] (type: bid/ask/last, value/percent: number), and [trailing: object] (enabled: boolean, percent: number min: 0.01 max: 100 for the last step).
Details of Stop Loss protective settings applied to this SmartTrade.
Enables Stop Loss for this SmartTrade. Set to true to activate. Default: false
Enables the Move to Breakeven feature. Requires at least two Take Profit steps. Default: false
Stop Loss type: market or limit. Required when stop_loss[enabled] is true.
Stop loss price value configurations: [value: number] or [percent: number].
Conditional stop loss trigger price and trailing SL settings [price: object, trailing: object].
Timeout delay configuration in seconds before executing SL [enabled: boolean, value: number].
Optional user-defined note for this SmartTrade (minlength: 1, maxlength: 300).
Response Parameters
If successful, the response includes an updated copy of the SmartTrade entity.
Example Request
Example Responses
Returns HTTP 201 Created on successful instantiation, or 422/403 on parameter validation failure.