Dry-Run Mode
A dry run is a rehearsal of live trading that stops one step short of the broker. The strategy reads its data, decides what to do, sizes the order and passes it through validation, and then the order is logged instead of sent. Nothing is bought or sold. The log shows what would have happened.
In DeployQuant, dry-run mode runs the whole order flow without sending any order to the broker. It sits after the backtest and after paper trading, and before real money. A backtest replays history. Paper trading runs the strategy on live data against simulated money. A dry run runs the real production path against the real account and records the orders it would have placed.
That ordering matters because each stage tests something different. A backtest tests the rules on past prices. Paper trading tests the live data loop. A dry run tests everything that sits between a signal and a broker: the position size, the cash check, the order type, the price limit and the account the order would go to. Most live failures sit in that last group, and neither a backtest nor a paper account touches it.
The library holds data on 12 strategy templates and 6 well-known funds, and it shows how many orders a rehearsal produces and how different the markets behind those orders are. The backtests run from 2021-01-04 to 2026-10-02 on $10,000 of starting cash with no fees in the headline numbers, and they are hypothetical.
What a dry run does step by step
A live strategy goes through a chain. The data feed delivers a bar. The strategy computes its indicators and decides whether to act. The sizing step turns the decision into a share count. Validation checks the order against the account. The last step sends the order to the broker. A dry run executes the first four steps exactly as live trading does and replaces the last one with a log line.
Because the first four steps are the live code, the rehearsal answers questions a backtest cannot. The backtest fills orders on historical minute bars with no account behind them. In the dry run the sizing step sees the real cash balance and the real positions. If the strategy wants to buy 98% of its sleeve, the log shows the dollar amount and the number of shares that follow from the account as it stands that morning.
The log is where the value sits. Each line records the strategy, the symbol, the side, the quantity and the reason. DeployQuant also logs each decision with the prices and indicator values the strategy saw at that moment, so a line such as a buy on a golden cross can be checked against the 50-day and 200-day averages of that day. Reading the log against the chart takes a few minutes and finds mistakes that numbers in a table hide.
A dry run is also the safest way to find a configuration mistake. A strategy pointed at the wrong sleeve, an allocation set too large, or a symbol typed with the wrong ticker all show up as a strange order in the log. In live mode the same mistake becomes a real fill.
Where a dry run fits between backtest, paper and live
The product describes a path with five steps: build a strategy, backtest it, read why each trade happened, paper trade it on the live feed, and deploy it with real money in the user's own Webull, Charles Schwab or Alpaca account. A dry run is a rehearsal inside the last step, with a real broker connection and no orders going out.
Paper trading needs no broker. It uses the live market data feed and simulated money, so it tests the strategy in real time without an account behind it. Alpaca offers paper and live accounts. Webull's API has no paper environment, which the product reference points out, and it suggests paper trading on DeployQuant's own paper mode instead. A dry run is the step that uses the actual connection for a Webull, Schwab or Alpaca account while still sending nothing, so it answers the account questions that paper mode cannot.
Real money only moves after the user types an explicit confirmation on a live deployment. The dry run happens before that confirmation is given, so the first real order is not the first time the path has run.
A short list of what each stage tests:
- Backtest: the rules against about 5.74 years of minute data, with the numbers in the report.
- Paper trading: the rules on live data, in real time, with simulated cash.
- Dry run: signal, sizing and validation against the real account, with the send suppressed.
- Live: all of the above plus the broker's acceptance and the real fills.
Each stage adds one thing. A strategy that passes the backtest and fails the dry run has a plumbing problem. A strategy that passes the dry run and fails the backtest has a rule problem. Seeing the two failures separately is the point of keeping the stages apart.
How many orders a rehearsal produces
Strategies differ a great deal in how often they trade, and a dry run produces as many log lines as the strategy produces orders. The median round-trip counts across the 59 funds in the library show the range. The dip buyer had a median of 2 round trips over the whole window. The golden cross had a median of 3, the trend with trailing stop 4 and the momentum breakout 6. At the other end, the weekly 7% target had a median of 106, the RSI(2) snapback 166 and the monthly cycle 69.
The middle of the table has the RSI mean reversion at 15 round trips, the SMA 10/50 trend at 17, the 200-day regime filter at 18, the EMA 12/26 trend at 22 and the 3-month momentum rule at 12.
For a dry run the practical meaning is simple. A slow rule such as the golden cross may send no order in a week of rehearsal, and the log would be empty. An empty log from a slow rule is expected and says little. A fast rule like the RSI(2) snapback or the weekly target produces orders often enough that a week of dry running shows several of them, and each one can be compared with the chart.
The same logic applies to the product's own example. The reference backtest for a weekly TQQQ strategy printed 520 fills from 597 orders over 1,364 sessions. A strategy with that profile gives a dry run something to inspect on most weeks. A strategy with 2 or 3 round trips over the window can go months without one, and a dry run of that kind needs a longer wait or a deliberate test condition.
The reference run counts orders and fills separately, and a dry run logs only the orders. It cannot show which ones the broker would have filled.
What the rehearsal cannot show about the market
A dry run records the order the strategy would send. It cannot show what the market would have done with it. The library's funds show how different that can be.
SPY is the quiet case. Its annualized volatility over the window was 16.41%, its average intraday range 1.15%, and it traded about $30,453,859,411 a day with a median of 107,870 shares per minute. An order of a few shares disappears into that volume, and the price the dry run logs is close to the price a fill would get. SPY buy-and-hold turned $10,000 into $21,820.48.
TQQQ is the fast case. Its volatility was 67.11%, its average intraday range 4.74% and its average overnight gap 1.78%. An order logged in a dry run at one price can fill at a visibly different price a few minutes later. TQQQ had a max drawdown of 81.68% from 2021-11-19 to 2022-12-28 and ended buy-and-hold at $36,585.29. The dry run would log the same order size and the real fill would still depend on the move between the log line and the broker.
UVXY is the thin case. Its median minute volume was 1,145 shares and its average daily dollar volume $458,284,172, small beside SPY. Its annualized volatility was 103.95%, its average intraday range 7.03%, and it fell 99.95% in total over the window, with buy-and-hold ending at $215.7. In a market that thin, a logged price is a weak guide to the real fill, and a dry run is a check of intent. A price band that refuses limit orders priced too far from the market is part of the live safety set for that reason.
QQQ sits between SPY and TQQQ, with 22.39% volatility and a 35% max drawdown. IWM had 22.35% volatility and ended buy-and-hold at $15,145.24. TLT fell 40.49% in total with a 44.06% drawdown that had not recovered by the end of the data.
Overnight gaps matter for one kind of dry run in particular. A strategy that decides at the open acts on a price that already includes the gap. SPY's average gap was 0.44%, QQQ's 0.59%, IWM's 0.61%, TLT's 0.54%, TQQQ's 1.78% and UVXY's 2.53%. A rehearsal done after hours on one of the wide-gap funds can show an order that would be sized on a stale price.
The checks a dry run is meant to catch
The product reference lists the controls that sit around a live order. Real money only moves after a typed confirmation. Price bands refuse limit orders priced too far from the market. There are per-order and per-position dollar caps and a cap on orders per sync, and the caps never block an order that reduces exposure. One switch pauses a single strategy and another pauses every strategy on a broker connection. Positions and cash are accounted from the broker's own fill reports.
A dry run exercises signal, sizing and validation, so it is the right time to read how an order looks against those limits. A few things to look for in the log:
- A buy size that is far larger or smaller than the sleeve implies.
- An order for a symbol the strategy was not meant to hold.
- A sell that is larger than the position the sleeve holds. Each strategy runs in its own sleeve with its own cash and positions, and a strategy that sells everything only sells its own.
- A limit price that sits far from the last quote.
- Orders arriving at an odd time, such as before the open or after the close.
- Repeated orders for the same signal, which can point to a rule that re-triggers on every bar.
A strategy that shares an account with others needs one more check. Each order is tagged with the strategy that placed it and checked against that sleeve's cash, so one sleeve can be rehearsed by itself. Cash that is not allocated to a sleeve is never traded, and positions the user trades by hand stay theirs.
A dry run does not exercise the broker's acceptance. It cannot say that Webull or Alpaca would accept the order, that the account has the permission, or that a market is open for that symbol. Webull order errors on live accounts are sent to the user by email, which means some problems appear only once real orders go out. For that reason the first live day is best treated as an extension of the rehearsal, with small sizes and the kill switch within reach.
How to read a dry-run log
The log is useful when it is read against something. Three comparisons cover most of the value.
The first is against the backtest. Run the same strategy over the same recent days in a backtest and compare the decisions. If the backtest says buy on Monday at the open and the dry run logged no order, one of them read different data or different parameters. A rule on the 200-day average needs 200 days of history before it can act, and a dry run that starts with less history can show no signal where the backtest shows one.
The second is against the chart. Take one logged order and look at the price and indicator values the strategy saw. For an RSI rule, check the RSI(14) reading that triggered the order against the threshold of 30. For a trend rule, check that the faster average was above the slower one. The decision log of the platform keeps those values so the check takes a minute.
The third is against the account. Compare the logged size with the cash and positions in the portfolio page. A sleeve with $10,000 that logs an order worth far more than that has a sizing problem. The same applies to a sleeve that logs a sell for shares it does not own.
A short dry run is usually enough for a fast strategy and not enough for a slow one. The weekly 7% target buys at the first open of each week and exits Thursday afternoon if the trade is losing, so one week of rehearsal shows its full cycle. The golden cross sends a handful of orders in a decade on one fund, so a week of rehearsal can show nothing, and a test of that rule is better done by checking the averages against the chart.
Time of day deserves care. A rule that decides at the market open can only be rehearsed at the open. A dry run started at noon tests a different path from the one live trading will run.
What a dry run proves and where it stops
A dry run proves that the production path runs without raising an error and that the orders it produces look right on the days it was running. It does not prove the strategy will make money. The backtest results in the library are hypothetical, they model no fees or slippage in the headline run, and each one covers a single window of 1,444 sessions. A clean rehearsal says nothing about the next year.
It also covers only the days it ran. A strategy that works in a calm week may behave differently in a day like the one that hit TQQQ in the data, when the fund's worst drawdown reached 81.68%. A rehearsal that happens in a quiet market tests the path in a quiet market.
The difference between a rehearsal and live trading is the broker. In a dry run no order reaches it, so fills, partial fills, rejections and slippage are all untested. Real fills also move the sleeve's cash and positions, and a rehearsal has no fills to do that. A strategy that depends on its own position, for example one that sells half at +5%, therefore reaches that branch only when the account already holds the shares.
The costs shown in the library help set expectations for the step after. The cost runs on the backtest pages add 5 and 10 basis points per trade, and the effect depends on how often the strategy trades. A rule with 3 round trips barely notices them, and a rule with 166 does. A dry run does not measure that effect, because it never meets the market.
The product also says what it is not. DeployQuant is software and is not a broker-dealer. It does not hold customer funds or give investment advice, and live trading can lose money, including the money put in.
Related terms
Paper trading runs a strategy on live data with simulated money and is the usual step before a dry run. The kill switch is the control that stops new orders when behaviour surprises you, and in DeployQuant one switch pauses a single strategy while another pauses every strategy on a broker connection.
Some strategies in the library lend themselves to rehearsal more than others. The weekly 7% target and the RSI(2) snapback trade often enough to produce orders in a short test. The golden cross and the dip buyer trade so rarely that the backtest trade list is the better source of what the orders look like.
Frequently asked questions
What is a dry run in trading?
A dry run executes a strategy's full order pipeline, from signal to sizing to validation, and suppresses the final send to the broker. The orders are logged instead of placed, so nothing is bought or sold. In DeployQuant, dry-run mode runs the whole order flow without sending any order to the broker.
How is a dry run different from paper trading?
Paper trading runs the strategy on live data against simulated money and needs no broker. A dry run uses the real account and the real order path, and stops before the broker. Paper trading tests the strategy and a dry run tests the connection between the strategy and the account.
Does a dry run risk any money?
No order is sent to the broker, so no money moves. Real money only moves after the user types an explicit confirmation on a live deployment. The dry run happens before that point.
How long should a dry run last?
That depends on how often the strategy trades. A weekly strategy shows its full cycle in a week. In the library the median round trips across 59 funds were 106 for the weekly 7% target and 3 for the golden cross, so the slow rule can send no order for months and a rehearsal of it has little to show.
What can a dry run not tell me?
It cannot show whether the broker would accept an order, how the order would fill, or how much slippage it would meet. It also cannot say the strategy will be profitable. The backtests on the site are hypothetical and cover one window from 2021-01-04 to 2026-10-02.
What should I look for if a dry-run log shows repeated orders?
Check whether the strategy re-triggers on every bar, which would produce the same order each time. Compare the log with the backtest trade list for the same days. If both show one order per signal, the rule is behaving as designed.
Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.
Related terms
Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.