Zum Inhalt springen
Alle Bibliotheksdokumente

Forschungsrahmen für Handelsstrategien | Stratmill

Artikel Machine Learning for Trading

Zusammenfassung

Dieses Kapitel versteht Strategieforschung als Entwurf und Evaluierung eines ausführbaren Entscheidungsprozesses – von der ersten ökonomischen Idee über Positionsgrößen, Beschränkungen und Kosten bis hin zu Tests unter liveähnlichen Bedingungen. Es empfiehlt, Strategiefamilien und mögliche Quellen eines Vorteils zu klassifizieren, bevor Modelle erstellt werden, und anschließend ein versioniertes Setup festzulegen, damit Vergleiche aussagekräftig bleiben. Außerdem trennt es Modelldiagnostik, Signaldiagnostik und Portfolioergebnisse, um das Risiko zu verringern, jede Forschungsentscheidung an der Backtest-Performance auszurichten.

Das Kapitel betont chronologische Zeitreihen-Evaluierung, darunter Walk-Forward-Splits, Puffer für überlappende Labels und Merkmale, versiegelte Holdouts, verschachtelte Evaluierung und kombinatorische Varianten. Es empfiehlt eine schmale Baseline mit Prüfungen von Timing, Abdeckung und Handelsintensität, bevor die Suche ausgeweitet wird. Zudem sollten Versuche protokolliert werden, damit das Ausmaß der Experimente nachvollziehbar ist. Notebooks veranschaulichen den Workflow anhand von Momentum über verschiedene Anlageklassen, Validierungsmethoden und Fallstudienvergleichen. Das Material bietet einen Forschungsprozess, aber keinen Beleg dafür, dass eine bestimmte Strategie profitabel sein wird; die Ergebnisse hängen weiterhin von Datenqualität, Implementierungsannahmen, Kosten und Marktveränderungen ab.

Kernaussagen

  • Eine Strategie muss einen ausführbaren Entscheidungsprozess festlegen und darf nicht nur aus einem Prognosesignal bestehen.
  • Klassifizieren Sie Ideen nach Strategiefamilie, plausibler Vorteilsquelle, Umsetzungsbeschränkungen und möglichen Fehlermodi.
  • Halten Sie die Mechanik des Setups beim Vergleich von Parameterwerten konstant und unterscheiden Sie diese Werte von strukturellen Änderungen.
  • Nutzen Sie chronologische Validierung mit Kontrollen für Überschneidungen und reservieren Sie einen Holdout für die abschließende Performance-Schätzung.
  • Prüfen Sie eine schmale Baseline und protokollieren Sie jeden Versuch, bevor Sie die Suche ausweiten.

Schlagwörter

Volltext
# Chapter 6: Strategy Research Framework


# Chapter 6: Strategy Research Framework

The chapter establishes the chapter's core claim: a trading strategy is not just a signal or model, but an executable decision process that has to be defined at decision time and evaluated as if it were live. It distinguishes the live trading loop from the research loop and shows why disciplined iteration matters if historical testing is supposed to say anything about future behavior. The case studies make the workflow concrete across asset classes, cadences, and market structures, so readers see early that the same research logic must survive very different implementation environments.

## Learning Objectives

* Place a strategy idea on the strategy map by linking it to a strategy family, a plausible source of edge, and the dominant feasibility constraints and failure modes.
* Define a versioned trading setup in decision-time terms: what is tradable, when decisions are made, what information is admissible, how scores become positions, and which constraints and costs are treated as material.
* Define "better" economically and keep model diagnostics, signal diagnostics, and strategy outcomes in distinct roles during research and evaluation.
* Design a time-series evaluation protocol that preserves chronology, prevents overlap leakage, and separates model selection from final performance estimation.
* Establish a narrow baseline checkpoint with timing, coverage, and trading-intensity sanity checks before expanding the search space.
* Keep search auditable, reproducible, and countable using a simple trial taxonomy and automatic run logging.

## Sections

### 6.1 From Idea to Evidence with the ML4T Workflow

This section establishes the chapter's core claim: a trading strategy is not just a signal or model, but an executable decision process that has to be defined at decision time and evaluated as if it were live. It distinguishes the live trading loop from the research loop and shows why disciplined iteration matters if historical testing is supposed to say anything about future behavior. The case studies make the workflow concrete across asset classes, cadences, and market structures, so readers see early that the same research logic must survive very different implementation environments.

### 6.2 Mapping Strategies and Sources of Edge

This section gives readers a way to classify ideas before they start building models. Strategy families act as feasibility filters, while sources of edge act as durability filters: together they force the reader to ask not only whether a pattern can be backtested, but whether it is economically plausible, implementable, and likely to persist after costs, constraints, and competition. That makes this section important because it shifts strategy design away from loose narratives and toward testable economic hypotheses with explicit failure modes.

### 6.3 Defining the Trading Setup

Here the chapter turns the strategy map into a versioned trading setup. The key contribution is that comparability requires fixed invariants: tradability rules, decision schedule, score-to-trade mapping, constraints, and material cost components. The distinction between parameter tuning and mechanics changes is especially valuable because it gives readers a principled boundary for when they are still refining one strategy versus when they have quietly changed the structure of the strategy.

### 6.4 Setting Objectives and Evaluation Metrics

This section clarifies what "better" means in strategy research. Its main contribution is separating model diagnostics, signal diagnostics, and strategy outcomes so readers do not use one metric to answer incompatible questions. That separation matters because it reduces the temptation to optimize every micro-decision directly on simulated portfolio outcomes, which is one of the easiest ways to overfit a backtest.

### 6.5 Evaluation Protocol for Time Series

This is the chapter's methodological center. It explains why standard iid validation fails for financial time series, then introduces walk-forward evaluation, label and feature buffers, sealed holdouts, nested walk-forward, and combinatorial variants. Readers should care because this is the section that turns "out-of-sample" from a slogan into an actual protocol with admissibility rules, chronology, and governance around model selection versus final performance estimation.

### 6.6 Establishing a Baseline Checkpoint

This section argues that a narrow baseline is not a weak start but a governance tool. By insisting on timing, coverage, and trading-intensity sanity checks before large searches, it teaches readers how to rule out brittle setups early and earn the right to broaden the feature set or model class later. That is editorially strong because it frames baseline design as a way to avoid wasting effort on invalid or economically implausible research lines.

### 6.7 Search Accounting and Run Logging

This section makes experimentation auditable. Its value is not just reproducibility in the software-engineering sense, but countable search in the statistical sense: readers need to know what was tried, what was selected, and what was reserved for confirmation if they want performance claims to remain credible after iteration. The trial taxonomy is especially useful because it gives the book a concrete language for strategy, trial family, trial, and run.

## Notebooks

| Notebook                                                       | What it teaches                                                                                                          | Section |
|----------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|---------|
| [`01_where_ideas_come_from`](01_where_ideas_come_from.ipynb)   | From a story to a measured footprint: name a strategy's source of edge (the SLOW/WRONG/RISK taxonomy), then test whether cross-asset momentum leaves a footprint via a quintile conditional-return sort, an era stress test, and a turnover check. | §6.1–§6.2 |
| [`02_cv_foundations`](02_cv_foundations.ipynb)                 | Walk-forward CV from first principles: decision-time admissibility, label buffer (purging), feature buffer (embargo), calendar-aware splits, nested walk-forward, and CPCV. | §6.5    |
| [`03_case_study_overview`](03_case_study_overview.ipynb)       | Cross-strategy summary of the nine case studies — asset classes, universes, cost classes, evaluation protocols, and prediction-coverage timeline (Figure 6.5). | §6.3    |

## Running the Notebooks

```bash
# From the repository root
uv run python 06_strategy_definition/<notebook>.py

# Test mode (reduced data via Papermill)
uv run pytest tests/test_chapter_notebooks.py -v -k "06_strategy_definition"
```

## References

- **Brian Hurst et al.** A Century of Evidence on Trend-Following Investing.
- **Christoph Bergmeir et al.** (2018). [A note on the validity of cross-validation for evaluating autoregressive time series prediction](https://doi.org/10.1016/j.csda.2017.11.003). *Computational Statistics & Data Analysis*.
- **Clifford S. Asness et al.** (2013). [Value and Momentum Everywhere](https://www.jstor.org/stable/42002613). *The Journal of Finance*.
- **David H. Bailey and Marcos Lopez de Prado** (2014). [The Deflated Sharpe Ratio: Correcting for Selection Bias, Backtest Overfitting and Non-Normality](https://doi.org/10.2139/ssrn.2460551).
- **David H. Bailey et al.** (2015). [The Probability of Backtest Overfitting](https://doi.org/10.2139/ssrn.2326253).
- **Giuseppe A. Paleologo** (2025). The Elements of Quantitative Investing. *John Wiley & Sons*.
- **Kent Daniel and Tobias J. Moskowitz** (2016). [Momentum crashes](https://doi.org/10.1016/j.jfineco.2015.12.002). *Journal of Financial Economics*.
- **Marcos Lopez de Prado** (2018). Advances in Financial Machine Learning. *John Wiley & Sons*.
- **Narasimhan Jegadeesh and Sheridan Titman** (1993). [Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency](https://doi.org/10.1111/j.1540-6261.1993.tb04702.x). *The Journal of Finance*.
- **R. David McLean and Jeffrey Pontiff** (2016). [Does Academic Research Destroy Stock Return Predictability?](https://doi.org/10.1111/jofi.12365). *Journal of Finance*.
- **Ron Kohavi** (1995). A study of cross-validation and bootstrap for accuracy estimation and model selection. *Morgan Kaufmann Publishers Inc.*.
- **Stephen Bates et al.** (2021). [Cross-validation: what does it estimate and how well does it do it?](https://doi.org/10.1080/01621459.2023.2197686).
- **Tobias J. Moskowitz et al.** (2011). [Time Series Momentum](https://doi.org/10.2139/ssrn.2089463).

Vollständig mit Quellenangabe unter der Lizenz der Quelle angezeigt. Lizenz: MIT

Diese Zusammenfassung wurde vom Research-Agenten von Stratmill anhand des Originals verfasst; sie ist keine Kopie der Quelle.