Realistic backtesting: fees, slippage and multi-instrument
A strategy looks good on paper. A backtest tests it. The engine runs your strategy on historical candles and shows how each signal ended. Entries, exits, wins and losses are processed one by one. You turn an idea into a table built on data, not feeling.
Realism matters here. The engine counts commission. It adds spread. It applies position sizing. It runs signal filters. Without these costs the result comes out too bright and misleads you. The goal is to approximate live trading conditions, not to imitate an ideal world.
There are three modes. Single-range tests the span between two dates you pick. Full-history goes from the start of the available data to the end. Portfolio mode runs several instruments at once and measures combined behavior. Which mode you choose depends on the question you are asking.
The result report is not a single number. You see total return. You see win rate. You see a per-instrument breakdown. So you tell where the strategy wins and where it loses. If one pair carries the result, you notice it and narrow the strategy accordingly.
When you read a report, do not look only at the final balance. A high win rate with large losses can mean a fragile strategy. A low trade count can mean the result rests on luck. If the return comes from a single trade, that is an accident, not a pattern. So study the distribution. How the trades spread out, where the losses cluster, how long the worst streak lasted. If a strategy climbs steadily, you trust it. If it climbs in jumps, you stay cautious.
One reminder is needed. A backtest looks backward. A rule that worked well in the past may not repeat in the future. Markets change. So a backtest is a check, not a guarantee. A good result gives confidence but makes no promise. The decision is still yours. The engine gives you data and leaves the reading to you.