Trading BotsSmartTrade

SmartTrade

What Is SmartTrade

SmartTrade is GX Exchange’s advanced single-trade automation tool. It lets you define a complete trade plan — entry, multiple take-profit exits, stop-loss, trailing logic, and breakeven rules — in one configuration. The engine then executes the entire lifecycle without further intervention.

Unlike continuous bots (Grid, DCA, Signal), SmartTrade manages exactly one position from open to close. It is built for traders who have a specific directional thesis and want precise, automated exit management. All orders execute on GXCore with sub-microsecond matching latency, identical to native engine orders.


How It Works

  1. Define your entry. Choose Market, Limit, or Stop-Limit and specify position size.
  2. Set take-profit targets. Add up to five targets, each with its own price level and volume allocation.
  3. Configure stop-loss. Set a fixed stop-loss price or percentage, with optional trailing.
  4. Enable extras. Turn on breakeven-after-TP1, trailing take profit on the last target, timeout, or conditional entry.
  5. Execute. The engine takes over. It fills your entry, places all exit orders, adjusts trailing levels tick by tick, moves the stop-loss to breakeven when conditions are met, and closes the position when all targets fill or the stop-loss triggers.

You monitor the trade from your Bot Dashboard. The status panel shows which targets have filled, unrealized P&L, current stop-loss level, and trailing high/low watermarks in real time.

SmartTrade vs. Manual Orders

CapabilityManual OrdersSmartTrade
Multiple take-profit levelsOne order at a time; must place the next after each fillUp to 5 simultaneous targets, auto-sequenced
Trailing stop-lossNot availableBuilt in, adjusts automatically
Trailing take profitNot availableAvailable on the last target
Breakeven automationMust manually move SL after partial fillOne toggle, handled by the engine
Conditional entryMust watch price and place order yourselfSet a trigger price; engine waits and enters for you
Timeout / auto-cancelMust cancel manuallySet a duration; unfilled entry cancels automatically
Setup effortMultiple screens, multiple ordersSingle configuration screen

Entry Types

SmartTrade supports three entry methods. Choose based on your trade thesis and how you want to enter the market.

Market — Enters immediately at the best available price. Guaranteed fill, instant activation of exit logic. Best for high-conviction trades where timing matters more than entry precision.

Limit — Places a limit order at your specified price. The SmartTrade activates only after the limit fills. Best for buying dips to support or selling rallies to resistance.

Stop-Limit — A two-stage order. When market reaches your stop trigger, a limit order is placed at your limit price. Best for breakout strategies where you want confirmation before committing capital.

Entry TypeWhen Order Is PlacedWhen Position OpensPrice Input Required
MarketImmediatelyImmediatelyNone
LimitImmediately (rests on book)When limit fillsLimit price
Stop-LimitWhen stop trigger is reachedWhen limit fills after triggerTrigger price + limit price

Take Profit Configuration

SmartTrade supports up to five take-profit targets. Each target has two parameters:

  • Price level — the price at which the target triggers (absolute price or percentage from entry).
  • Volume allocation — the percentage of the total position to close at this target.

Volume allocations across all targets must sum to 100%.

When you add multiple targets, the engine queues them in sequence. As each target fills, the allocated portion closes and the next target becomes active.

Worked Example

A trader opens a long position on SOL-USDT at $150 with a $3,000 position size (20 SOL).

TargetPriceGainVolumeSOL ClosedCumulative Closed
TP 1$157.50+5%25%5 SOL25%
TP 2$165.00+10%25%5 SOL50%
TP 3$180.00+20%25%5 SOL75%
TP 4$195.00+30%25% (trailing)5 SOL100%

Realized profit if all targets fill: $37.50 + $75 + $150 + $225 = $487.50 (before fees).

The fourth target has trailing enabled, so the actual exit price may exceed $195.00 if momentum continues (see next section).

Tips for Target Allocation

  • Conservative: Load more volume into early targets (e.g., 40/30/20/10). Locks in profit quickly.
  • Aggressive: Load more volume into later targets (e.g., 10/20/30/40). Maximizes upside if the move extends.
  • Balanced: Equal distribution (25/25/25/25). Simple and effective for most setups.

Trailing Take Profit Explained

Trailing take profit applies to the last target only. Instead of closing at a fixed price, the engine follows the price as it moves in your favor and exits when it reverses by a specified percentage.

How It Works

  1. Price reaches the last TP target level. Instead of closing, the engine activates trailing mode.
  2. The engine tracks the highest price (for longs) or lowest price (for shorts) since trailing activated.
  3. When the price reverses from that peak/trough by your trailing percentage, the position closes.

Example

  • Last TP target: $180.00 with 2% trailing.
  • Price reaches $180.00 — trailing activates.
  • Price continues to $192.00 — new high watermark.
  • Price pulls back to $188.16 (2% below $192.00) — the engine closes the position at approximately $188.16.

Without trailing, the exit would have been $180.00. Trailing captured an additional $8.16 per unit.

Use trailing TP in strong trending markets where you expect momentum continuation. Avoid it in choppy, range-bound conditions where small reversals trigger premature exits.


Stop Loss Configuration

Every SmartTrade should include a stop-loss. Set it as an absolute price or percentage distance from entry. When triggered, the engine closes the entire remaining position at market.

Place the stop-loss below a support level (for longs) or above resistance (for shorts), not at an arbitrary percentage. Account for normal volatility — a stop that is too tight will get hit by regular price noise.


Trailing Stop Loss Explained

Trailing stop-loss follows the price as it moves in your favor, locking in gains progressively. The trailing distance is a fixed percentage offset from the best price observed since entry.

Mechanics

  • Long trade: As price rises, the SL moves up, maintaining the trailing percentage below the high watermark. It never moves down.
  • Short trade: As price falls, the SL moves down, maintaining the trailing percentage above the low watermark. It never moves up.

Example

  • Entry: $100 long. Trailing SL: 5%.
  • Initial SL: $95.00 (5% below $100).
  • Price rises to $120. SL moves to $114.00 (5% below $120).
  • Price falls to $114.00. SL triggers. You exit at approximately $114.00 with a $14 gain instead of riding it back to your original $95 stop.

Trailing SL is strictly better than fixed SL in trending markets. If price moves in your favor then reverses, a trailing SL triggers at a higher level (reduced loss or locked-in profit) versus the original level with a fixed SL. If price moves against you immediately, both behave identically.


Breakeven Feature

When breakeven is enabled, the engine automatically moves your stop-loss to your entry price after the first take-profit target fills. This eliminates downside risk on the remaining position.

How It Works

  1. Your first TP target fills, closing a portion of the position and locking in partial profit.
  2. The engine moves the stop-loss from its original level to your entry price (adjusted for fees so the remaining position is truly breakeven).
  3. The remaining position continues toward higher TP targets with zero downside risk beyond fees.

Without breakeven, a trade that hits TP1 and then reverses hard could still result in a net loss. With breakeven enabled, the worst outcome after TP1 is a small net gain. This is the most popular SmartTrade feature and is recommended for any multi-target setup.


Timeout and Conditional Entry

Timeout

Timeout applies to Limit and Stop-Limit entries. If your entry order has not filled within the specified duration, the SmartTrade cancels automatically.

Set the timeout in minutes or hours. This prevents capital from being tied up in stale orders. Example: you expect a support bounce within 2 hours — set a 2-hour timeout so the entry cancels if it does not fill.

Conditional Entry

Conditional entry adds a price trigger that must be reached before the entry order activates. This works with any entry type. Example: you want to buy SOL at $140 (limit), but only if BTC first holds above $65,000. Set a conditional trigger on BTC price, and the limit order on SOL is only placed once that condition is met. Useful for correlation-based strategies.


Example: Breakout Trade Setup

Scenario: ETH-USDT is consolidating below resistance at $3,200. You expect a breakout and want to ride the move with automated risk management.

SmartTrade Configuration:

ParameterValue
PairETH-USDT
DirectionLong
Entry typeStop-Limit
Stop trigger$3,205
Limit price$3,210
Position size$5,000
Leverage5x

Take-Profit Targets:

TargetPriceGain from EntryVolumeTrailing
TP 1$3,350+4.4%30%No
TP 2$3,500+9.0%30%No
TP 3$3,750+16.8%40%2.5% trailing

Risk Management:

ParameterValue
Stop-loss$3,100 (3.4% below entry)
Trailing SLDisabled (fixed SL until breakeven activates)
Breakeven after TP1Enabled
Timeout24 hours

How This Plays Out:

  1. ETH trades sideways at $3,180. The SmartTrade waits — no capital committed.
  2. ETH breaks $3,205. The stop trigger fires and the limit at $3,210 fills.
  3. At $3,350, TP1 closes 30%. Stop-loss moves to $3,210 (breakeven). Profit: $42.
  4. At $3,500, TP2 closes 30%. Profit: $87.
  5. At $3,750, trailing activates on remaining 40%. Price runs to $3,900, pulls back 2.5% to $3,802.50 — trailing TP exits. Profit: $237.
  6. Total: $366 on $5,000 (7.3% return, 36.6% with 5x leverage). Risk eliminated after TP1.

If ETH fails to break out within 24 hours, the SmartTrade auto-cancels with no position and no loss.


Getting Started

  1. Navigate to My Portfolio > Bot Dashboard > Create Bot > SmartTrade.
  2. Select your pair, direction, entry type, and position size.
  3. Add take-profit targets with price levels and volume allocations. Enable trailing on the last target if desired.
  4. Set your stop-loss. Optionally enable trailing SL and breakeven-after-TP1.
  5. Set a timeout if using Limit or Stop-Limit entry.
  6. Review the trade plan summary (risk/reward ratio, projected outcomes) and click Execute.

The SmartTrade appears on your Bot Dashboard with real-time status: entry fill, active targets, current P&L, SL level, and trailing watermarks.


FAQ

How many SmartTrades can I run at the same time? There is no fixed limit. Each SmartTrade is independent. You can run multiple SmartTrades on the same pair in different directions if your margin supports it.

Can I modify a SmartTrade after it is active? You can adjust the stop-loss level and cancel unfilled TP targets. You cannot add new TP targets or change volume allocations on targets that are already queued.

What happens if the market gaps past my take-profit or stop-loss? TP and SL orders execute at market when triggered. In a gap scenario, the fill price may differ from your target price. This is standard exchange behavior and applies to all order types.

Does trailing take profit work on any target, or only the last one? Trailing applies to the last target only. Earlier targets fill at their exact price levels.

What is the minimum position size for SmartTrade? The minimum matches the pair’s minimum order size on GX Exchange. Check the pair’s trading rules page for specifics.

Can I use SmartTrade on spot pairs or only perpetuals? SmartTrade works on both spot and perpetual pairs. Leverage settings are only available for perpetual pairs.

What happens if I set breakeven but my first TP target never fills? The breakeven feature only activates after TP1 fills. If TP1 never fills, your original stop-loss remains in place.

How does timeout interact with conditional entry? The timeout clock starts when the SmartTrade is created, not when the conditional trigger fires. If the condition is never met within the timeout window, the SmartTrade cancels.

Is there a fee difference between SmartTrade and manual orders? No. SmartTrade orders use the same fee schedule as manual orders. There is no additional charge for using SmartTrade automation.