FREE FINANCIAL EDUCATION
Algorithmic Trading and Backtesting
Learn algorithmic trading and backtesting through original explanations, numerical cases and explained assessments.
Available learning units
30 expanded lessons are available. Each includes a distinct mechanism, a worked synthetic example, a practice case with an answer, and three explained assessment questions.
- Algorithmic trading basics
Separate data, signal, risk, order and reconciliation responsibilities.
- Market data structure
Distinguish event time from receipt time and bar labels from availability.
- Data cleaning
Detect duplicates and impossible bars without silently rewriting valid events.
- Signal generation
Distinguish a persistent condition from a one-time crossing event.
- Execution modeling
Model spread and slippage consistently for buys and sells.
- Event-time and availability-time joins
Join features using the latest information actually available at decision time.
- Transaction-cost models
Separate explicit fees from spread, slippage and impact assumptions.
- Backtest metrics
Calculate net return and profit factor with their correct denominators.
- Look-ahead bias
Identify future information hidden in features, labels and fills.
- Survivorship bias
Construct eligibility from point-in-time membership rather than today’s survivors.
- Overfitting
Explain how trying many strategies can select noise.
- Walk-forward testing
Build sequential training and test windows without future leakage.
- Paper trading
Use paper trading to test workflow and state handling.
- Operational safeguards
Separate blocking new orders from canceling orders and flattening positions.
- Deployment review
Assemble evidence for a bounded deployment decision.
- Financing, cash interest and short-borrow ledgers
Accrue financing charges on explicit balances and day-count conventions.
- Purging and embargo for overlapping labels
Remove training labels whose information intervals overlap held-out labels.
- Nested parameter selection
Keep inner validation choices separate from outer evaluation results.
- Multiple-testing research ledgers
Record the complete family of inspected research alternatives.
- Block-bootstrap uncertainty
Construct a simple block resample that preserves local order.
- Trade-order Monte Carlo with stateful sizing
Reapply a sizing rule to every simulated ordering instead of shuffling final cash profits.
- Benchmark and null-strategy baselines
Choose comparators that address explicit questions about a strategy.
- Parameter-stability surfaces
Compare a sharp optimum with a neighboring region of similar scores.
- Regime-segment robustness
Evaluate one locked strategy across predeclared market-condition segments.
- Event-driven and vectorized reconciliation
Match a vectorized return calculation to an explicit event-processing convention.
- Partial-fill state-machine invariants
Update positions and cash only from confirmed unique executions.
- Idempotent order recovery
Treat a submission timeout as unknown state rather than proof of failure.
- Data and version reproducibility
Record enough artifacts to explain and repeat a backtest result.
- Capacity and nonlinear-impact stress
Stress a strategy with a size-dependent impact function.
- End-of-test open-position accounting
Include open positions when measuring terminal portfolio value.
Learning approach
Work through the calculations before revealing each answer. Save completion in this browser after explaining the failure modes in your own words. Educational scenarios do not establish a profitable strategy.
Downloads and further study · Practice questions · Advanced course directory
