SmartTrade Overview
SmartTrade allows users to open, manage, and close orders on the exchange with predefined conditions. Quentrade provides an extensive suite of REST API methods to create and manage SmartTrade entities and their associated trade executions.
The lifecycle begins with a SmartTrade entity configuring entry targets, stop loss triggers, trailing deviations, and multi-step take profit ladders. Quentrade autonomously executes and manages sub-trades when market conditions are satisfied.
How SmartTrade Works
A SmartTrade entity acts as an intelligent container holding complete trading parameters. Once created, Quentrade monitors live WebSocket order books and automatically submits, updates, and cancels sub-trades on the underlying exchange without requiring manual intervention.
Information Held by a SmartTrade Entity
Exchange Account & Pair
Connected exchange account ID, market pair symbol (e.g. BTC_USDT), and order position side (Buy / Sell, Long / Short).
Position Data
Entry order type (Market, Limit, Conditional), total investment size, units quantity, and leverage tier.
Take Profit & Stop Loss
Multi-target take profit distribution percentages, trailing take profit deviations, stop loss price trigger, trailing stop loss, and timeout delays.
Market Close Conditions
Pre-configured triggers to immediately liquidate and exit the position at current market rates.
Funds Reduction Conditions
Rules and steps to partially de-risk or take early profits by reducing allocated funds.
Execution State & Status
Real-time tracking of active sub-trades, filled quantities, average entry/exit prices, and accumulated PnL.
Trade Types Included in SmartTrade
Position Trade
The primary order executed to establish the initial market position according to entry parameters.
Take Profit Trade
Orders placed to capture profit when target price boundaries or trailing thresholds are achieved.
Stop-Loss Trade
Protective orders triggered when the market price drops to or below the safety threshold to prevent further losses.
Reduce Funds Trade
Intermediate orders designed to scale down open exposure and liberate margin capital safely.
Market Close Trade
Emergency or manual market order execution to immediately finalize and exit all open positions.
SmartTrade API Endpoints
Explore all available REST endpoints for creating, inspecting, modifying, and managing SmartTrade operations.
Creates a new SmartTrade entity with entry, take profit, and stop loss rules.
Returns a filtered, paginated list of SmartTrade entities.
Adds additional funds or margin to an existing active SmartTrade position.
Reduces funds or closes a portion of the SmartTrade position at market or limit price.
Immediately exits and liquidates the entire SmartTrade position at market price.
Attaches or updates an internal descriptive note for the SmartTrade entity.
Forces an idle or pending conditional SmartTrade to immediately execute entry orders.
Updates take profit, stop loss, or trailing configurations of an active SmartTrade.
Retrieves comprehensive details and sub-trade status for a specific SmartTrade entity.
Calculates available volume, minimum limits, and requirements to reduce position funds.
Cancels a SmartTrade entity and deletes any unfilled open orders on the exchange.