1.

Record Nr.

UNINA9910300758303321

Autore

Masters Timothy

Titolo

Testing and Tuning Market Trading Systems : Algorithms in C++ / / by Timothy Masters

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2018

ISBN

1-4842-4173-8

Edizione

[1st ed. 2018.]

Descrizione fisica

1 online resource (325 pages)

Disciplina

005.1

Soggetti

Programming languages (Electronic computers)

Financial engineering

Software engineering

Algorithms

Programming Languages, Compilers, Interpreters

Financial Engineering

Software Engineering

Algorithm Analysis and Problem Complexity

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

1. Introduction -- 2. Pre-Optimization Issues -- 3. Optimization Issues -- 4. Post-Optimization Issues -- 5. Estimating Future Performance I: Unbiased Trade Simulation -- 6. Estimating Future Performance II: Trade Analysis -- 7. Permutation Tests.

Sommario/riassunto

"The algorithms in this book are essential tools for any serious trading system developer." --David R. Aronson, Hood River Research Inc. Build, test, and tune financial, insurance or other market trading systems using C++ algorithms and statistics. You’ve had an idea and have done some preliminary experiments, and it looks promising. Where do you go from here? Well, this book discusses and dissects this case study approach. Seemingly good backtest performance isn't enough to justify trading real money. You need to perform rigorous statistical tests of the system's validity. Then, if basic tests confirm the quality of your idea, you need to tune your system, not just for best performance, but also for robust behavior in the face of inevitable market changes. Next, you need to quantify its expected future behavior, assessing how bad



its real-life performance might actually be, and whether you can live with that. Finally, you need to find its theoretical performance limits so you know if its actual trades conform to this theoretical expectation, enabling you to dump the system if it does not live up to expectations. This book does not contain any sure-fire, guaranteed-riches trading systems. Those are a dime a dozen... But if you have a trading system, this book will provide you with a set of tools that will help you evaluate the potential value of your system, tweak it to improve its profitability, and monitor its on-going performance to detect deterioration before it fails catastrophically. Any serious market trader would do well to employ the methods described in this book. You will: See how the 'spaghetti-on-the-wall' approach to trading system development can be done legitimately Detect overfitting early in development Estimate the probability that your system's backtest results could have been due to just good luck Regularize a predictive model so it automatically selects an optimal subset of indicator candidates Rapidly find the global optimum for any type of parameterized trading system Assess the ruggedness of your trading system against market changes Enhance the stationarity and information content of your proprietary indicators Nest one layer of walkforward analysis inside another layer to account for selection bias in complex trading systems Compute a lower bound on your system's mean future performance Bound expected periodic returns to detect on-going system deterioration before it becomes severe Estimate the probability of catastrophic drawdown.