Trades
The Trade is a sub-entity of SmartTrade. Each trade entity includes the conditions set for its specific trade type.
Each trade is created automatically by Quentrade based on the conditions set within the SmartTrade entity.
How Trades Work Within SmartTrade
When a SmartTrade is initiated, Quentrade automatically decomposes the parent strategy into specialized sub-trade orders (entry, take profit, stop loss, reduce funds, and emergency market closes). Each trade lifecycle is tracked independently while reporting back to the overarching SmartTrade container.
Information Held by Trade Entity
Order Type
Specifies whether the trade executes as a market order, limit order, or trailing trigger order.
Trading Pair
The cryptocurrency trading pair for this trade (e.g., USDT_BTC, USDT_ETH).
Trade Status
Real-time state such as idle, order_placed, finished, panic_sell_pending, or cancelled.
Initial and Realized Amounts
Tracks base currency quantities originally planned versus actual filled amounts.
Initial and Realized Total Values
The quote currency volume computed before execution and realized after fill completion.
Comprehensive Price Values
Tracks initial order price, average filled price, and final realized execution price.
Position Percentage
The relative percentage of the total SmartTrade position volume allocated to this trade step.
Trailing and Trigger Conditions
Configured dynamic parameters including trailing percentage, trigger price, and activation thresholds.
Types of Trades in SmartTrade
Depending on the strategy parameters set within the parent SmartTrade entity, a trade can belong to one of the following types:
Position Trade
The initial entry order that acquires base assets at market price or predefined limit levels.
Take Profit Trade
Configured target limit or market orders designed to capture profit at elevated price steps with optional trailing.
Stop-Loss Trade
Contingent protective order that exits the position if market price falls below risk threshold.
Reduce Funds Trade
Partial position liquidation order placed to reduce capital exposure while the trade remains active.
Market Close Trade
Emergency immediate market execution order triggered during manual panic closure or system liquidations.
Trade Management Endpoints
A set of specialized methods to inspect, close, and cancel individual trades within a SmartTrade.