COURSE OVERVIEW
What this course covers
Learn how to evaluate trading hypotheses using historical data while controlling look-ahead bias, survivorship bias, transaction costs and overfitting. The course approaches the subject as a set of connected systems and decisions. Students are expected to distinguish verifiable facts from assumptions, identify where a model is incomplete and explain the operational or financial risks that follow.
This school develops analytical discipline for financial markets. It emphasises explicit hypotheses, sound data, realistic execution assumptions, risk limits and the difference between historical analysis and future outcomes.
Related topics
- trading strategy backtesting course
- financial backtest methodology
- look-ahead bias in trading
- survivorship bias finance
- walk-forward strategy testing
- backtest transaction costs
- slippage and market impact model
- out-of-sample trading evaluation
- trading drawdown metrics
- quantitative strategy robustness
LEARNING OUTCOMES
What you should be able to explain
- Define a reproducible backtest specification.
- Account for costs, slippage and execution assumptions.
- Interpret out-of-sample tests and performance uncertainty.
CURRICULUM
Course syllabus and module outline
Research hypotheses and data provenance
Study the concepts, operating assumptions and failure cases behind research hypotheses and data provenance. Connect the topic to the wider backtesting and strategy evaluation framework, then record the evidence and limitations that matter in practice.
Event timing, look-ahead and survivorship bias
Study the concepts, operating assumptions and failure cases behind event timing, look-ahead and survivorship bias. Connect the topic to the wider backtesting and strategy evaluation framework, then record the evidence and limitations that matter in practice.
Execution models, costs and slippage
Study the concepts, operating assumptions and failure cases behind execution models, costs and slippage. Connect the topic to the wider backtesting and strategy evaluation framework, then record the evidence and limitations that matter in practice.
Train/test splits, walk-forward and robustness
Study the concepts, operating assumptions and failure cases behind train/test splits, walk-forward and robustness. Connect the topic to the wider backtesting and strategy evaluation framework, then record the evidence and limitations that matter in practice.
Performance metrics, drawdown and reporting
Study the concepts, operating assumptions and failure cases behind performance metrics, drawdown and reporting. Connect the topic to the wider backtesting and strategy evaluation framework, then record the evidence and limitations that matter in practice.
LEARNING MATERIAL
Course lessons and learning activities
This is academic-draft teaching content published for curriculum review. It is not an approved or open course. Enrolment, assessment submissions and recording, completion tracking and certificates are inactive.
Estimated study time: 4 hours
MODULE 01
Research hypotheses and data provenance
Module objective: Turn a research idea into a falsifiable specification and establish trustworthy, point-in-time data lineage.
LESSON 1.1
Research hypotheses and data provenance
Learning objectives
• State a falsifiable research hypothesis, target population, horizon and evaluation metric.
• Document data sources, permissions, timestamps, transformations and version lineage.
• Separate exploratory analysis from confirmatory evaluation.
Core lesson
A backtest is an experiment, not a proof that a strategy will make money. Begin with a question that can be rejected. A useful hypothesis identifies the instrument universe, observation frequency, decision time, holding horizon, signal definition, benchmark and expected mechanism. Avoid vague statements such as “the indicator works.” Specify what is measured, under which conditions, and what result would count against the hypothesis.
Write a research protocol before inspecting final test results. Record the hypothesis, primary metric, secondary diagnostics, sample period, inclusion rules, benchmark, rebalancing schedule, assumed execution delay, transaction-cost model and stopping criteria. If many variants are explored, record the number and rationale. This creates an audit trail and makes it harder to select only attractive outcomes after the fact.
Data provenance is part of model validity. Record the source and license, extraction time, source version, instrument identifiers, corporate-action treatment, currency, units, timezone, event timestamp, publication timestamp and data-vintage policy. Preserve raw inputs where permitted and version each transformation. A dataset assembled today may contain corrections or constituents that were not known at the historical decision time. Historical analysis must reproduce what was available then, not what is known now.
Define the investable universe without hindsight. For example, a historical equity universe must account for delisted securities and membership changes. Crypto or FX examples likewise need historically valid instrument mappings, venue assumptions and periods of availability. Missing data must be described rather than silently discarded. Survivorship, selection and availability filters can all distort results.
Separate exploration from confirmation. Use an exploratory period to develop a candidate hypothesis, then freeze its rules before evaluating a holdout period. Keep a research log of rejected as well as retained variants. Reproducibility requires code version, configuration hash, data snapshot identifier, environment details, random seeds and run timestamp. A second analyst should be able to reconstruct the same experiment and explain any difference.
Applied case
A fictional researcher tests a momentum rule on a dataset downloaded in 2026. The file contains only instruments that remain active today and includes revised historical values. Identify the provenance gaps and specify what evidence is needed before the experiment can be trusted.
Key takeaways
Pre-register the question and primary metric. Preserve data lineage and point-in-time availability. Include delisted and changing constituents where relevant. Record every experiment, not only the successful one.
Exercise
Write a one-page backtest protocol with hypothesis, universe, timestamps, data sources, transformations, benchmark, metrics, cost assumptions, holdout design and reproducibility identifiers.
MODULE 02
Event timing, look-ahead and survivorship bias
Module objective: Prevent future information, revised observations and incomplete historical universes from contaminating simulated decisions.
LESSON 2.1
Event timing, look-ahead and survivorship bias
Learning objectives
• Distinguish event time, publication time, receive time and decision time.
• Identify look-ahead, survivorship, selection and revision bias.
• Apply point-in-time joins and leakage tests.
Core lesson
Look-ahead bias occurs when a historical decision uses information that was not available at that time. It can enter through obvious future prices, but also through subtle data joins. A monthly macroeconomic value may describe January while being published in February and revised in March. A decision on 31 January cannot use the later release or revision. Store both the period the observation describes and the timestamp at which each version became available.
For every feature, define its information cutoff. A valid point-in-time join selects the latest observation whose availability timestamp is less than or equal to the simulated decision timestamp, subject to the relevant publication and ingestion rules. Do not join only on calendar date or reporting period. When timestamps are uncertain, use a conservative availability assumption and disclose it. Time zones, daylight-saving transitions, market holidays and close-of-session conventions must be explicit.
Survivorship bias arises when the historical universe excludes entities that later disappeared, failed, delisted or became ineligible. Evaluating only today's surviving assets can overstate historical performance. Selection bias also appears when instruments are chosen because they later became successful, or when a data vendor's current coverage is mistaken for historical coverage. Reconstruct membership and eligibility as they were known at each decision point.
Other leakage paths include normalising features using the full sample, calculating thresholds from future observations, using revised corporate actions prematurely, randomly splitting time-series rows, and tuning parameters against the holdout set. Fit scalers, imputers and feature selection only on training data, then apply the frozen transformations to later periods. Keep labels and features separated by time, especially where the outcome horizon overlaps a split boundary.
Build leakage tests into the pipeline. Perturb or remove future rows and verify earlier features and signals do not change. Shift publication timestamps forward and confirm affected decisions no longer use the data. Audit joins for future timestamps, duplicated keys and unexpected backfills. A suspiciously strong result should trigger investigation, not celebration.
Applied case
A synthetic strategy uses a central-bank release value with a January reference month. The value was first published on 7 February and revised on 14 March. The simulated signal timestamp is 31 January. Explain which value, if any, can be used and how later revisions should be handled.
Key takeaways
Use availability time, not just reference period. Reconstruct historical universes. Fit transformations on training data only. Test for leakage by perturbing future information.
Exercise
Create a timestamp policy and a point-in-time join example. Include event, publication, receive and decision timestamps, then list five automated leakage assertions.
MODULE 03
Execution models, costs and slippage
Module objective: Represent trading frictions and realistic execution assumptions without confusing bar-based fills with executable market prices.
LESSON 3.1
Execution models, costs and slippage
Learning objectives
• Explain spread, fees, slippage, market impact and financing costs.
• Choose an execution model consistent with data resolution and order assumptions.
• Stress-test results against conservative cost and liquidity assumptions.
Core lesson
A strategy's theoretical return is not its realised return. A backtest that buys at a closing price and sells at the next close without modelling the bid-ask spread, fees or execution delay can materially overstate performance. Every fill assumption should be documented and justified by the available data. If the dataset contains only daily bars, it cannot reveal the intraday queue position or exact path of prices within each bar.
Transaction costs include explicit fees and implicit costs. Explicit costs may include commissions, exchange fees and taxes where applicable. Implicit costs include spread, slippage, market impact, delay and opportunity cost. Financing, borrow charges, rollover or funding assumptions may also matter for the instrument and holding period. Do not apply a single constant cost without explaining why it is appropriate across liquidity regimes and order sizes.
Slippage is the difference between an assumed reference price and the modelled fill price. It can depend on volatility, spread, order size, liquidity, urgency and market conditions. Market impact arises when the order itself affects available liquidity or price. A simple model may be acceptable for an educational experiment, but its limitations must be explicit. Avoid pretending that a bar's high or low guarantees a fill at that price.
Order semantics matter. A market order, limit order, stop instruction and participation schedule have different fill conditions. A limit price touched by a bar does not prove the order would have filled; queue priority and traded volume matter. If both stop and target levels are touched within the same bar and the sequence is unknown, use a conservative rule or higher-resolution data. Never choose the favourable path without evidence.
Report gross and net results separately. Show the cost components, assumptions, sensitivity to higher costs and the fraction of returns consumed by friction. Stress scenarios should include wider spreads, delayed execution, lower participation, reduced liquidity and volatility spikes. If the strategy works only under implausibly favourable fills, the evidence is weak.
This course uses offline synthetic fills only. No broker connectivity, live venue connectivity, order routing or financial transactions are enabled.
Applied case
A fictional daily-bar test assumes every buy fills at the day's low and every sell at the day's high. Replace this with a defensible model and identify what the available data cannot establish.
Key takeaways
Model spread, fees, slippage and impact. Match fill assumptions to data resolution. Treat ambiguous intrabar paths conservatively. Report gross and net performance with cost sensitivity.
Exercise
Build a cost worksheet for a synthetic strategy. State order type, reference price, spread, fee, slippage, participation cap, delay and stress multiplier. Explain which assumptions require better data.
MODULE 04
Train/test splits, walk-forward and robustness
Module objective: Evaluate temporal generalisation with chronological holdouts, walk-forward analysis and sensitivity checks.
LESSON 4.1
Train/test splits, walk-forward and robustness
Learning objectives
• Design chronological training, validation and test periods.
• Explain walk-forward evaluation and parameter freeze rules.
• Assess robustness across regimes, instruments and reasonable parameter changes.
Core lesson
Financial time series are ordered and dependent. Randomly shuffling observations between training and test sets can leak nearby regimes and future information into model development. Use chronological partitions. The training set is used to estimate parameters; validation supports limited model selection; the final test set is reserved for an evaluation after the design is frozen. Do not repeatedly inspect the holdout and then tune the strategy against it.
Walk-forward analysis repeats the process through time. At each step, fit or select using only the past window, freeze the resulting configuration, and evaluate on the next unseen window. The window may be expanding or rolling; explain why the chosen design reflects the intended deployment or research question. Preserve a gap or embargo where labels overlap future periods or where information could bleed across boundaries.
Robustness is not a search for the best parameter. It asks whether the conclusion survives reasonable perturbations. Vary lookback lengths, thresholds, costs, delays and universe definitions around the chosen specification. Examine performance across market regimes, instruments and subperiods. A result that collapses after a tiny parameter change may be overfit. A result that depends on one asset, one month or one unusual event needs to be described as fragile.
Multiple testing increases false discoveries. If hundreds of parameter combinations are tried, some will look attractive by chance. Keep a complete experiment ledger and disclose the search breadth. Prefer a small number of pre-specified hypotheses, simple models, economic rationale and independent confirmation. Statistical significance alone does not establish economic value, causal explanation or future persistence.
Use nested evaluation when model selection is complex: inner chronological folds select parameters, while outer folds estimate generalisation. Ensure every transformation, feature selection step and calibration is fitted only within the training fold. Report the exact dates and data vintages used in every fold.
Applied case
A researcher tests 500 parameter combinations, selects the best result on 2023–2025 data, then labels that same period “out of sample.” Explain why the claim is invalid and propose a revised walk-forward protocol.
Key takeaways
Respect time order. Freeze rules before final testing. Use walk-forward and nested evaluation where appropriate. Record all trials and test reasonable perturbations.
Exercise
Design a chronological walk-forward plan with training, validation, embargo and test windows. Add a robustness matrix covering parameters, costs, instruments and market regimes.
MODULE 05
Performance metrics, drawdown and reporting
Module objective: Interpret return, risk, benchmark-relative performance and uncertainty without overstating what historical simulation can prove.
LESSON 5.1
Performance metrics, drawdown and reporting
Learning objectives
• Calculate and interpret return, volatility, drawdown and risk-adjusted metrics.
• Explain benchmark choice, sample uncertainty and dependence.
• Produce a transparent report that includes limitations and failed tests.
Core lesson
A performance report should describe both outcome and risk. Cumulative return depends on compounding conventions and cash-flow assumptions. Annualisation must match the sampling frequency and should not disguise a short or irregular sample. Volatility estimates dispersion, not the probability of loss. Maximum drawdown measures the largest peak-to-trough decline in the observed path, but it is sample-dependent and does not define the worst possible future loss.
The Sharpe ratio compares average excess return with return volatility under a stated frequency and risk-free-rate convention. It can be misleading when returns are skewed, serially correlated, illiquid or based on smoothed marks. The Sortino ratio focuses on downside deviation but depends on its target threshold. Win rate ignores payoff size; profit factor ignores some path and capacity characteristics. No single metric is sufficient. Present a dashboard of complementary measures and explain each denominator and convention.
Choose a benchmark before evaluating results. It should reflect the strategy's opportunity set, risk exposure and investable constraints. Compare like with like: same dates, currency, cash assumptions and rebalancing conventions. Report both absolute and benchmark-relative results. Include exposure, turnover, concentration, average holding period, tail losses, worst period and cost contribution where relevant.
Uncertainty matters. A backtest is one realised sample under chosen assumptions. Confidence intervals and bootstrap methods can help, but resampling must respect time dependence and regime structure. Avoid treating each bar as an independent observation when returns are autocorrelated or clustered. Small samples, parameter searches and changing regimes all weaken inference.
A transparent report includes the hypothesis, data provenance, universe, code and configuration versions, date ranges, split design, execution and cost model, metrics, benchmark, robustness results, limitations and deviations from protocol. Show failed and neutral variants as well as the selected case. Label synthetic results clearly and do not imply a simulation is a forecast or investment recommendation.
Applied case
A fictional model has a high Sharpe ratio but a severe drawdown, concentrated exposure and results dominated by one instrument. Draft a balanced interpretation that explains what the headline ratio hides.
Key takeaways
Use multiple metrics and explicit conventions. Compare against a suitable benchmark. Disclose uncertainty, concentration and drawdown. Publish assumptions and negative findings.
Exercise
Prepare a two-page backtest report template with an executive summary, methodology, results, cost analysis, robustness, limitations and reproducibility record.
LEARNER ASSESSMENT
Final knowledge assessment
Total: 100 marks. Pass threshold: proposed 70%, subject to academic approval. These questions are displayed for review only; learners cannot submit or record an assessment result on this page.
Multiple-choice knowledge assessment (100 marks)
Question 1: Which statement makes a research hypothesis testable?
- It specifies a measurable rule, universe, horizon and rejection criteria.
- It says an indicator is powerful
- It selects the best historical chart
- It guarantees a positive return
Question 2: A macroeconomic value describes January but was first published in February. A 31 January decision may use:
- The revised March value
- The February release
- Only information demonstrably available by 31 January
- The final value downloaded today
Question 3: Which is a classic survivorship-bias source?
- Including delisted entities in the historical universe
- Using only entities that still exist today
- Preserving historical membership changes
- Recording delisting dates
Question 4: Why retain event time and publication/availability time separately?
- To select the latest value regardless of date
- To prevent future information from entering historical decisions
- To make charts load faster
- To remove the need for data lineage
Question 5: A daily bar touches a limit price. What can be concluded?
- The order definitely filled
- The order had queue priority
- The fill is guaranteed at the bar low
- The bar alone may not establish an executable fill
Question 6: Which cost should a net-performance model consider?
- Spread and fees only if they improve results
- Spread, fees, slippage and relevant market impact or financing assumptions
- Only the strategy's signal delay
- No costs for liquid instruments
Question 7: What is the proper use of a final holdout set?
- Tune parameters repeatedly until results improve
- Use it only after rules and model choices are frozen
- Mix it randomly into training
- Replace it with the best-performing period
Question 8: Which split design is generally appropriate for time-series evaluation?
- Randomly shuffled rows
- Chronological partitions with leakage-aware gaps where needed
- Training on future observations
- Selecting dates after seeing outcomes
Question 9: A strategy fails after a small reasonable parameter change. This most strongly suggests:
- Guaranteed future performance
- Robustness
- Parameter sensitivity and possible overfitting
- That costs are irrelevant
Question 10: A high Sharpe ratio should be reported alongside:
- Only the best month
- No benchmark or risk details
- Drawdown, exposure, costs, sample limits and complementary metrics
- A claim of guaranteed future returns
COURSE COMPLETION
Learning completion requirements
- Review all five modules and their lessons.
- Complete the applied exercises using fictional or synthetic information.
- Review the final knowledge assessment; submissions and results are inactive.
- Complete academic review before this material is approved for enrolment.
Completion tracking and certificates are not active until the Academy learning platform is implemented and approved.
GLOSSARY
Key terminology
APPLIED LEARNING
Practical case exercise
Audit a supplied backtest report and identify at least five assumptions that could inflate apparent performance.
The exercise is educational and uses hypothetical or historical information. It does not connect to a live brokerage, exchange, customer wallet or payment account.
ASSESSMENT DESIGN
How learning will be assessed
Knowledge checks, applied case analysis and a final assessment aligned to the published learning outcomes. Assessment formats and pass requirements will be confirmed in the live course syllabus.
When the assessment system is released, the approved Academy policy will allow up to three attempts per final examination. The proposed pass threshold is 70%, subject to the published syllabus and academic controls. Results are intended to be marked automatically where answers have objectively verifiable keys; assignments requiring judgement may require instructor review.
ENTRY GUIDANCE
Who this course is for
This intermediate-level course is intended for learners who want a structured understanding of backtesting and strategy evaluation. It may be useful to students, analysts, fintech builders, operations teams and professionals who need to understand the subject's terminology and control environment.
Suggested preparation: Learners should be comfortable with the relevant foundation concepts and basic numerical reasoning.
FURTHER READING
Primary and institutional references
Use original standards, technical documentation and institutional publications when checking details. Regulatory requirements vary by jurisdiction and may change.
COURSE QUESTIONS
Frequently asked questions
What is backtesting in trading?
Backtesting applies a specified strategy process to historical data to evaluate its behaviour under documented timing, cost, execution and portfolio assumptions.
What is look-ahead bias?
Look-ahead bias occurs when a historical simulation uses information before it was available to the decision process, such as a later data revision or an unfinished bar close.
Why include transaction costs in a backtest?
Spread, commissions, slippage, market impact and financing can materially reduce gross returns. Net results should use transparent and stress-tested assumptions.
Does a successful backtest guarantee future profits?
No. Historical simulation is sensitive to data quality, assumptions, market changes and selection effects. It is not a guarantee or personal investment advice.
Is this course currently open for enrolment?
This page contains academic-draft learning material for review, but the course is not approved or open for enrolment. Assessment questions are displayed for review only; submissions, assessment recording, completion tracking and certificates are inactive. Check the live education catalogue for courses explicitly published as available.
Does this course provide trading signals or promise profits?
No. It is an educational curriculum. It does not provide guaranteed outcomes, trading signals or personal investment recommendations.
Will I receive a NexaCrypto Academy certificate?
The approved Academy model distinguishes a Certificate of Completion from an examination-based Professional Certificate. Automated issuance will operate only after the learning, assessment and certificate systems are implemented and the learner meets the published eligibility rules.