algobacktesting

Are you profitable, or just lucky?

A winning streak can be luck, especially after trying a few setups. Load the trades of one strategy and see the chance its edge is real, once every setup you tried is counted.

Free, open source, and private: your trades are read in your browser and never uploaded.

Private by designYour files are read on your device. The page is locked so it cannot send data to any other site.
Peer-reviewed mathThe Probabilistic and Deflated Sharpe Ratio of Bailey and López de Prado, with every published example reproduced.
Built for futures tradersReads TopstepX, Quantower, NinjaTrader and thinkorswim exports, fees and breakevens included.
The check

One strategy, one honest answer

The page opens on a made-up example. Drop your own export to replace it.

Your trades

Setups tried, including this one

Every strategy, indicator or rule set you tested and dropped. Be honest: this number matters most.

Verdict

Waiting for trades
Chance the edge is real–
Trades needed to prove it–

Chart

How it works

Three things the check gets right

It judges your record, not your future.

A high number means your past results are hard to explain by luck. Markets change, and an edge that was real can stop working.

Every setup you tried counts.

Test five ideas and keep the best, and the best looks good even if none of them works. The check asks what the best of your setups would have shown with no edge at all, and holds your results to that bar.

Fees count. A breakeven is a loss.

Commissions turn a flat trade into a losing one. Breakevens are counted apart from wins and losses, with what they cost you, and fees are subtracted unless your P&L already includes them.

The method is the Probabilistic and Deflated Sharpe Ratio of Bailey and López de Prado (2012, 2014). It assumes the setups were independent and tested on a similar number of trades. Tested on simulated traders with no edge, it wrongly called an edge proven about 5% of the time for one setup, and about 1% or less for five or more.

Export help

Getting your trades out of your platform

Export the closed trades of one account, then pick one strategy in the check. Menus change between versions: if yours look different, look for Export on the trades or history view.

TopstepX

Open the Trades tab at the bottom of the platform (not Orders), choose the date range and click Export. If the file has separate fee columns, keep subtract fees on.

Quantower

Open the Trades panel, choose Export data from its menu, tick all columns, pick comma-separated and export. Fills that share a position ID are combined into one trade, using the Net P/L column. For the stop lab, export bars from the History exporter.

NinjaTrader 8

Control Center, New → Trade Performance, choose the account, strategy and dates, click Generate, open the Trades view, then right-click and Export. Check whether your Profit column already includes commission, and set subtract fees to match.

thinkorswim (Schwab)

Monitor → Account Statement, set the dates, then Export to File from the menu at the top right. Buys and sells in Account Trade History are paired into round trips, first in, first out. Commissions are not in that section, so results are before fees. The stop lab does not read thinkorswim files yet.