Backtest Lab: test a strategy on history, filled second by second
Backtest Lab runs your strategy on market history and fills every order against what traded in each second, on every plan. You get the trades, the equity curve, the costs and the best and worst days, and you can put every trade on the chart. History goes back up to 23 years, depending on your plan.
How it works

- Pick a strategy and press Run. Before the run you see its settings: starting capital, leverage, session hours and when positions are closed.
- Fills by the second. Market orders fill at the prices of the second they are sent in, limit orders when the price touches them, and the size can be capped at a share of that second’s volume.
- Costs are in the result. Commission in each asset type’s own terms (per share with a minimum for stocks and funds, per contract for futures, per million traded for forex and metals, a percent of the trade for crypto), slippage and margin interest are part of every run, not an afterthought.
- Your account is in dollars. For an instrument priced in another currency, profit, commission and margin are converted at the exchange rate of that second.
- Read the result. Net P&L, return on your own capital, trades, win rate, profit factor, drawdown, and the best and worst days. Every trade has a link to the chart.
- Take it further. From the result, go to Analysis Lab for the robustness checks or to Optimization Lab to search the parameters.
What you get on each plan
| Plan | Price | Fills | Smallest bar | History | Backtest-years a month |
|---|---|---|---|---|---|
| Explore | Free | By the second | 10-minute | Last 3 years | 500 |
| Builder | $39/month | By the second | 1-minute (better than Explore) | Full history (up to 23 years) (better than Explore) | 15,000 (better than Explore) |
| Pro | $49/month | By the second | 30-second (better than Builder) | Full history (up to 23 years) | 25,000 (better than Builder) |
| Quant | $89/month | By the second | 1-second (better than Pro) | Full history (up to 23 years) | 200,000 (better than Pro) |
Highlighted: better than the plan above. Compare every plan side by side on the pricing page
A backtest-year is one strategy tested on one instrument over one year of history; heavier strategies count more. Single backtests are free under fair use.
Limits
- A backtest is a simulation on past data. Real fills can be worse than simulated ones, and past results don’t guarantee future ones.
- The data is fills by the second, not every individual trade inside the second.
- Matana Labs does not place real orders: there is no broker connection and no automated live trading.
Keep reading
See it on a real backtest
The free backtester shows six classic strategies on QQQ, run by the same engine: return, drawdown, trades and equity curve, no signup.
Engine results on historical data, Apr 1, 2026 to Sep 30, 2026. Not investment advice.
Questions
How far back can I backtest?
Up to 23 years, depending on the instrument and your plan. The Explore plan tests the last 3 years; paid plans test the full history.
Are trades filled by the second on the free plan too?
Yes. Every plan fills trades second by second. What changes between plans is the smallest bar the strategy and the chart can use and how much history you can test.
Can I see each trade on the chart?
Yes. One click puts every entry and exit on the price chart, day by day, and each trade in the list has a link straight to its place on the chart.