A strategy needs enough room for execution costs
Historical entry and exit rules describe a trading idea. Spread, commission, slippage and financing describe parts of the cost of executing it. A strategy with frequent small gains can be especially sensitive to these assumptions. An attractive result with omitted costs does not establish that the same strategy survives realistic execution.
This guide explains a controlled comparison using the EdgeMotive backtester. The numerical example below is arithmetic only, not a market-data replay or a claim about a live strategy.
What each cost means
- Spread
- The difference between bid and ask. Your chosen data/profile and execution assumptions determine how it enters a test. Last-trade prices alone do not establish a bid/ask spread.
- Commission
- A fee that can be charged by trade, side, lot or contract. Confirm the units and whether the quoted amount is per side or round turn before entering it.
- Slippage
- The difference between an intended reference price and the modeled fill. A fixed assumption cannot reconstruct every live fill or liquidity event.
- Financing or swap
- A possible cost or credit for holding a position through the relevant rollover. Review the profile's treatment rather than assuming it is included.
A profile can omit some costs. Read the report's final assumptions and the available trading-terms controls; do not infer them from a broker name or from the presence of a money-results chart.
A simple R example
Suppose a trade has an initial risk distance of 10 price units and finishes 5 units in your favor before an additional modeled cost. That is +0.5R. If the extra cost is 1 price unit for the same position, it represents 0.1R, leaving +0.4R in this simplified calculation.
| Item | Price units | R |
|---|---|---|
| Initial risk distance | 10 | 1R |
| Gain before the extra cost | 5 | +0.5R |
| Extra modeled cost | 1 | −0.1R |
| Gain after that cost | 4 | +0.4R |
Apply each cost once. If an executed bid/ask fill already reflects spread, subtracting that spread again would double-count it. Actual replay can be more complicated than subtracting one number: a cost assumption can affect fills, stop distances, trade eligibility or position sizing. Compare the trade logs as well as the totals.
Run a comparison that answers one question
- Freeze the setup. Save the market, chart, timeframe, entry/exit rules, dates, management and risk settings. Record the data profile/version. A cost comparison should not also be a parameter search.
- Run the baseline. Inspect whether spread is included and which commission/slippage/financing assumptions apply. Save the report and exact request.
- Change one intended assumption. For example, enable Include spread using the selected profile's recorded treatment. Use a custom spread or commission only through the supported trading-terms controls and with known units.
- Run the same history again. Confirm the dates and other controls did not change. Save this report separately rather than relabeling the first result.
- Compare trades and evidence. Inspect return, drawdown, trade count and a few individual fills. Explain any changed trades before attributing the entire difference to a simple fee deduction.
Do not overwrite a certified profile or an already-issued report to make an old result appear to contain newly selected costs. Record the final merged assumptions for each separate run.
Include spread and cost stress are separate controls
Include spread selects whether spread enters the ordinary replay. New setups and Discovery searches start with an explicit zero-spread override unless you select inclusion; saved setups retain their original costs.
Cost stress is a separate optional robustness check. It asks how results behave under the report's stated stressed cost assumptions. It does not automatically turn spread inclusion on. Read the actual stress description: a test with no modeled commission cannot demonstrate resilience to a commission it never applied.
Start by making the baseline representative of the question you want answered. Then decide whether an additional stress scenario is useful. Neither a zero-cost baseline nor a stress result should be described as broker-identical execution.
R results and cash projections answer different questions
R expresses performance relative to each trade's initial risk. Monetary accounting adds the chosen balance, risk sizing, tick value, volume steps and other executable terms. Whole-contract constraints or minimum position sizes can prevent a cash projection even when the underlying R test is valid.
Keep those outputs distinct. Do not replace a strategy's R history with an account projection or silently treat a non-executable fractional position as a real contract. Use the report's sizing disclosures and final assumptions when comparing results.
What the comparison can tell you
A result that deteriorates sharply when a plausible cost is included deserves investigation. You may need a different execution assumption, a different market, or a trading idea with more room for costs. Changing the inputs until a historical result looks attractive is another form of selection, not independent validation.
Costs are only part of the uncertainty. Data quality, candle versus tick resolution, signal timing, contract changes and unseen market conditions also matter. Historical tests are hypothetical and cannot establish future profitability.
Review a strategy's costs Start with the step-by-step walkthrough →