QTrader
Menu

Deliver robot signals

Prepare a QTrader robot, rehearse with Dry run and understand TradeAdapter connections, delivery checks and order outcomes.

Before you start

A backtest and a running robot are separate steps. Sign in, prepare a strategy and review the current plan and preflight checks. Live delivery requires a usable TradeAdapter connection and strategy, appropriate broker access and compatible market/quantity settings. An account connection alone does not verify an exchange position.

Review the configured market and timeframe. Signals use the robot's configured candle market; the execution market and actual fills can differ. Read the robot reference before enabling live sending.

Follow the workflow

  1. Open a code example and run a historical backtest with the intended market and settings. Check the trades, size and protective rules.
  2. Use Run as robot and review the strategy, market, timeframe, capital and order size. Fix preflight errors and read warnings about ticker, sizing or order type.
  3. Start with Dry run. It computes and records alerts without sending them to TradeAdapter. Check the event journal to see whether entry and close signals match the strategy.
  4. For Live, select the intended TradeAdapter strategy and verify the broker account and its own protective orders. Live sending also depends on server access and configuration.
  5. Monitor delivery outcomes and the position in TradeAdapter. When delivery is uncertain, reconcile the actual account before resuming or starting another robot.

Worked example

Use the same SMA strategy first as a historical backtest, then as a Dry run robot. Compare its next closed-candle signals with its event journal. This walkthrough does not submit a live order.

SMA 50/200 cross (Pine): The same SMA 50/200 cross in Pine Script: long only, buys when the fast SMA crosses above the slow one and closes when it crosses back below; both lengths are inputs. The link opens this exact bundled example as unsaved work on its recommended timeframe.

//@version=6
strategy("SMA 50/200 cross", initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)
fastLength = input.int(50, "Fast SMA", minval=2)
slowLength = input.int(200, "Slow SMA", minval=2)
fast = ta.sma(close, fastLength)
slow = ta.sma(close, slowLength)
if ta.crossover(fast, slow)
    strategy.entry("Long", strategy.long)
if ta.crossunder(fast, slow)
    strategy.close("Long")

Open example in workbench

Limits and interpretation

Accepted means TradeAdapter's webhook accepted the alert. It is not exchange execution confirmation. Filled and Rejected describe the later order outcome; Unknown or Not delivered requires checking the actual account.

Pause holds new entries while closes continue. Stop, keep position and Stop and close position have different effects; choose deliberately. Dry run does not measure real slippage or prove that a broker will accept the order. Robot limits and live access come from current plan/server checks, not a fixed count in this guide.

Robots retain their starting engine version. See engine versions when comparing a running robot with a new workbench backtest, and current plans before adding another robot.

The interactive workbench needs JavaScript. Reload this page if interactive controls could not load.