Strategy testing protocol — backtest and forward test
This fill-in protocol takes you from a hypothesis and frozen rules to results and a decision about further testing. Complete sections 1–5 before the test and sections 6–8 afterwards. Keep an export of each version together with the data and results so that the study can be reproduced.
The form does not run a backtest or connect to a broker. It documents tests performed in your chosen environment. The Polish and English versions use the same JSON schema version 1 and the same 22 fields. Field contents are transferred without translation. This EN version accepts files up to 2,000,000 bytes, matching the updated PL importer. Keep larger backups intact and open them in an updated version — do not delete study records to fit the 600,000-byte limit of an older EN version.
Download the blank JSON templatePolish version
First, save and export sections 1–5. After the study, add the results in sections 6–8, keeping the previous copy. All fields are descriptive: the form does not assess the validity of the hypothesis or check the metrics you enter. Each field holds up to 12,000 characters as counted by the browser (some symbols take two units). JSON is for reimporting; TXT and printouts are for reading. The import button cannot load data from TXT or PDF files.
Example: the same result, different conclusions
Illustrative example: suppose version 1.0 produced +8 R in OOS. If, after inspecting that sample, you exclude two losing sessions and present +12 R as “independent confirmation”, you are mixing rule development with evaluation. Record the new filter as version 1.1, preserve the +8 R result and identify the data you have already seen. The difference of +4 R here comes from removing sessions with a combined result of −4 R, not from new observations. The +12 R result describes the new variant fitted to a known sample; its independent evaluation requires a further, properly planned test.
Related course materials
- 15.3. Strategy building
- 15.4. Backtesting and forward testing
- 15.10. Strategy audit
- 15.9. Journal and metrics
- Add-on E — trading plan and playbook: record the study ID alongside the rule version.
- Add-on F — trading journal: keep the same definitions of R, costs and the trade unit.
- Add-on I — trader code kit: document calculations from the journal export together with the script version and parameters.
Sources and scope of verification
- Bailey, Borwein, López de Prado, Zhu, The Probability of Backtest Overfitting, February 2015 version: repeatedly selecting variants on the same data can inflate the assessment of a strategy. The paper supports recording trials; it does not establish a universal trade-count threshold for this form.
- MDN — localStorage: the scope of browser storage and the possibility of access being denied. A JSON backup is independent of the site’s local save.
Sources checked on 21 September 2026. The linked chapters 15.4 and 15.9 expand on metric definitions and the study procedure; the form itself records content, rather than calculating an edge.