SmartTrade entity
The SmartTrade entity is the core data model representing an intelligent order on Quentrade. It encapsulates the complete lifecycle of position entry, multi-target take profits, conditional stop loss triggers, funds reduction steps, and real-time trade execution metrics.
Attributes
18Unique Quentrade ID for this SmartTrade entity.
Trading pair in Quentrade format (e.g. USDT_DOGE, BTC_USDT).
Indicates whether a Simple Buy or Simple Sale has been executed directly (true) or conditional SmartTrade (false).
Details about the user exchange account where this trade is hosted.
The general lifecycle status and descriptors for this SmartTrade entity.
Leverage settings applied to margin or futures SmartTrades.
Complete position entry setup, order types, units, and price settings.
Multi-step Take Profit ladder and trailing take profit configurations.
Stop Loss protective order settings, trailing SL, and timeout triggers.
Configuration and history of position fund reduction steps.
Details of instant market close order if the position was terminated at market rates.
Optional user-defined note attached to this SmartTrade.
Raw unformatted string of the user note.
Indicates if position opening was skipped (used for smart_sell or smart_buy on existing assets).
Real-time state, available actions, average prices, and volume metrics.
Detailed profit & loss metrics for this SmartTrade.
Margin allocation details for leveraged trades.
Indicates whether position entry has not yet been filled.
SmartTrade Types Matrix
SmartTrade type is determined by the combination of instant, skip_enter_step, and position.type.