Second-by-second fills: how Matana Labs fills a backtest
In Matana Labs every backtest fills orders against the market second by second, on every plan, including the free one. A stop or a target inside a bar is filled in the second it was reached, not guessed from the bar’s high and low. Why this changes results is explained in our guide to second-level backtesting; this page is about how it works in the app.
How it works

- Market orders fill at the price of the second they are sent in.
- Limit orders fill when the price touches them, at the order price.
- Stops and targets are checked every second, so the order of events inside a bar is known, not assumed.
- Volume: the size of a fill can be capped at a share of the second’s volume, so a large order doesn’t fill at a price that only had a small trade.
- Costs: commission in each asset type’s own terms (per share, per contract, per million traded or a percent of the trade), slippage and margin interest are part of every fill.
How much bar fills change results, measured across many strategies on our data: how much bar backtests overstate results and how often a bar can’t tell stop from target.
What you get on each plan
| Plan | Price | Fills | Smallest bar | History |
|---|---|---|---|---|
| Explore | Free | By the second | 10-minute | Last 3 years |
| Builder | $39/month | By the second | 1-minute (better than Explore) | Full history (up to 23 years) (better than Explore) |
| Pro | $49/month | By the second | 30-second (better than Builder) | Full history (up to 23 years) |
| Quant | $89/month | By the second | 1-second (better than Pro) | Full history (up to 23 years) |
Highlighted: better than the plan above. Compare every plan side by side on the pricing page
The bar size is what the chart and the strategy’s indicators use; the fills are by the second on every plan.
Limits
- It is fills by the second, not every individual trade inside the second.
- Simulated fills are still a model: queue position, partial fills at the broker and fast markets can make real fills worse.
Keep reading
Questions
Is every single trade inside a second replayed?
No. Matana Labs fills by the second: each second has its prices and volume. That is much finer than one-minute bars, but it is not every individual trade.
Why does a backtest on one-minute bars give different results?
Inside a minute the price can hit your stop and your target, and a minute bar doesn’t say which came first. By the second, the app knows. The guide shows examples.
Does the free plan really fill by the second?
Yes. The Explore plan uses 10-minute bars for the chart and indicators, but fills are by the second on every plan.