Are you profitable, or just lucky?
Load the trade history of one strategy. The check asks whether its results beat what luck alone produces once every setup you tried is counted, and how many more trades it would take to know.
Input
Verdict
Chart
Stop lab
Replays your entries on price history with different stopsKeeps each trade's entry from the file above and replays it on your bar data with a fixed stop and target. Everything runs in your browser; the bar file is not uploaded.
Load a trade file above and a bar file here to see how different stops would have done.
Assumes every stop and target fills at its exact price. When one bar reaches both, the stop counts. Real fills can be worse.
Read it 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 one looks good even if none of them works. Each extra idea raises the bar your results have to clear.
Fees count. A breakeven is a loss.
Commissions turn a breakeven trade into a losing one. Leave subtract fees on unless your P&L column already includes them.
The math
The check measures how far your average trade sits above zero relative to how much your trades swing, then asks what the best of your setups would have shown with no edge at all, and holds your results to that bar.
The dashed line on the equity chart is that bar: what the luckiest of your setups would have made by now, at your trade size, with no edge. Finishing above it is the same as a chance above 50%.
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.
For developers
The same checks, plus the Probability of Backtest Overfitting and purged cross-validation, are in an open-source Python library. Every worked example in the source papers reproduces, and this page is tested against the library.
pip install git+https://github.com/TheMarketMakerHoldings/algobacktesting
Python 3.11 or later, NumPy and Git. Source · Verification report · API
Export help
Export the closed trades of one account, then filter to one strategy above. 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.
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. The page pairs the buys and sells in Account Trade History into round trips (first in, first out). Commissions are not in that section, so results are before fees.