Trading Strategy Backtest Excel Model
Capital Markets Financial Model (Excel Download)
Replay a trading rule on past prices with real costs and cash limits. The model tracks every trade, then reports return, drawdown, turnover and results against a benchmark.
professionals from Deloitte
About this model
A model that backtests a long-only moving average crossover strategy. The starting case is a fictional systematic equity strategy with $250,000 of starting cash and 180 daily bars of adjusted open, close and benchmark prices. You set the entry allocation, fast and slow averages, commission, slippage and a fixed fee per order.
Signals use only prior closes and trade at the next open, so there is no look-ahead. Entries buy whole shares after costs and exits sell the full position. A ledger tracks shares, cash, equity, cost basis and realized profit, and blocks any trade that cash cannot fund. Other sheets show daily performance, a filled-order log, a drawdown review and results for three historical windows.
In the case the strategy returns -0.53% against 6.72% for the benchmark, with maximum drawdown of -4.63%, ten filled orders and gross turnover of about 9.5 times. Fees and slippage cost $1,454. A checks sheet tests cash and share rollforwards, the equity to profit bridge, negative cash and duplicate dates.
What every model includes
Live formulas, no hardcoded values
Outputs are driven by live formulas, so the workbook updates from its assumptions instead of relying on hardcoded results.
All assumptions in one tab
Inputs are clearly marked in the Assumptions tab and separated from calculations, making it clear what to change and what to leave intact.
Statements always balancing
For integrated-statement models, the balance sheet, cash flow, and supporting schedules tie through properly.
Distinct schedules for clarity
Debt, working capital, taxes, and cash flow can get messy quickly. We group calculations in clear schedules, not across disconnected tabs.
No hidden macros or external links
There are no unexplained external workbook links or macros to undermine auditability or portability.
Changes flow through the model
Update a key driver and see the impact carry through the forecast, financing, and return outputs. We never use hardcoded numbers in formulas.
What's inside the Trading Strategy Backtest Excel Model
- Daily price table with adjusted open, close and benchmark close
- Fast and slow moving average signals built from prior closes only
- Whole-share position sizing with an entry allocation
- Commission, adverse slippage and fixed fee per order
- Trade ledger with cash, shares, equity, cost basis and realized profit
- Cash check that blocks trades that cannot be funded
- Total and annualized return, volatility, drawdown and turnover
- Excess return against a benchmark index



Formatted to IB standards
Named theme colors repaint the whole workbook in one click, on top of an investment-banking structure with clear input, output, and cross-sheet reference styling - brand-ready, institutional-grade, and fully auditable.
Created by ex-finance professionals
Hey, I’m Alex and I created Finamodel.
Over my years in the finance industry I kept building the same models over and over again. Same structure, same assumptions, different logo. So I started building frameworks to turn them into clean, reusable templates.
Every model here is one I’d actually use for a client, and I personally vet each one before it goes up.
I’m not an expert in every industry, but I’ve built enough models to know what belongs in one. And when something is completely foreign to me, I reach out to my network for experts to work on our models with us.
Having a template library on hand cuts a first build from hours to minutes.
Frequently asked
What is a trading strategy backtest?+
A backtest applies a trading rule to past prices to see how it would have performed. It records each trade, cost and position. The results show return, risk and how the rule compares with simply holding a benchmark.
How does the model avoid look-ahead bias?+
The moving averages use only closes before the current day. A new signal trades at the current day's open. No future price is used to decide a trade.
What happens if cash is too low for a trade?+
The model checks cash before each trade. If the trade cannot be funded, it is rejected with no fee and the prior position and cash stay in place. The blocked count is shown on Assumptions.
What is not included?+
The model is long-only with no leverage, short sales, taxes, borrow costs or interest on cash. Prices are fictional, and past results do not predict future performance.
Can I test other settings?+
Yes. Change the averages, allocation and costs on Assumptions, or paste your own prices on the Prices sheet. If you add more bars, extend the formula ranges.
Have more financial modelling questions? Contact us
Related templates
Equity Portfolio Analysis
Portfolio-level analytics for equity holdings with performance attribution, risk, and rebalancing.
Hedge Fund Operating Model
Operating model for hedge funds including investor cash flows, fee structure, leverage, and performance-based compensation.
Monthly Return Seasonality Study
Measure average return and gain frequency by calendar month and test whether a seasonal pattern survives each year removed.
DCF Model
Discounted cash flow valuation model with explicit forecast, terminal value, and WACC.















