Robert Pardo
The Evaluation and Optimization of Trading Strategies (eBook, PDF)
70,99 €
70,99 €
inkl. MwSt.
Sofort per Download lieferbar
70,99 €
Als Download kaufen
70,99 €
inkl. MwSt.
Sofort per Download lieferbar
Robert Pardo
The Evaluation and Optimization of Trading Strategies (eBook, PDF)
- Format: PDF
- Merkliste
- Auf die Merkliste
- Bewerten Bewerten
- Teilen
- Produkt teilen
- Produkterinnerung
- Produkterinnerung
Bitte loggen Sie sich zunächst in Ihr Kundenkonto ein oder registrieren Sie sich bei
bücher.de, um das eBook-Abo tolino select nutzen zu können.
Hier können Sie sich einloggen
Hier können Sie sich einloggen
Sie sind bereits eingeloggt. Klicken Sie auf 2. tolino select Abo, um fortzufahren.
Bitte loggen Sie sich zunächst in Ihr Kundenkonto ein oder registrieren Sie sich bei bücher.de, um das eBook-Abo tolino select nutzen zu können.
A newly expanded and updated edition of the trading classic, Design, Testing, and Optimization of Trading Systems Trading systems expert Robert Pardo is back, and in The Evaluation and Optimization of Trading Strategies, a thoroughly revised and updated edition of his classic text Design, Testing, and Optimization of Trading Systems, he reveals how he has perfected the programming and testing of trading systems using a successful battery of his own time-proven techniques. With this book, Pardo delivers important information to readers, from the design of workable trading strategies to…mehr
- Geräte: PC
- mit Kopierschutz
- eBook Hilfe
- Größe: 6.12MB
A newly expanded and updated edition of the trading classic, Design, Testing, and Optimization of Trading Systems Trading systems expert Robert Pardo is back, and in The Evaluation and Optimization of Trading Strategies, a thoroughly revised and updated edition of his classic text Design, Testing, and Optimization of Trading Systems, he reveals how he has perfected the programming and testing of trading systems using a successful battery of his own time-proven techniques. With this book, Pardo delivers important information to readers, from the design of workable trading strategies to measuring issues like profit and risk. Written in a straightforward and accessible style, this detailed guide presents traders with a way to develop and verify their trading strategy no matter what form they are currently using-stochastics, moving averages, chart patterns, RSI, or breakout methods. Whether a trader is seeking to enhance their profit or just getting started in testing, The Evaluation and Optimization of Trading Strategies offers practical instruction and expert advice on the development, evaluation, and application of winning mechanical trading systems.
Dieser Download kann aus rechtlichen Gründen nur mit Rechnungsadresse in D ausgeliefert werden.
Produktdetails
- Produktdetails
- Verlag: Wiley-Scrivener
- Erscheinungstermin: 13. Februar 2008
- Englisch
- ISBN-13: 9780470262856
- Artikelnr.: 37291266
- Verlag: Wiley-Scrivener
- Erscheinungstermin: 13. Februar 2008
- Englisch
- ISBN-13: 9780470262856
- Artikelnr.: 37291266
Robert Pardo is a recognized expert in the design and testing of trading strategies and computerized trading applications, and a long-standing professional money manager. He is founder and President of Pardo Capital Limited, a professional money management firm; Pardo Group Limited, a consulting firm; and Pardo Analytics Limited, a proprietary market analysis services firm. Since 1983, Pardo has continuously updated his software as well as designed, programmed, and documented versions of various commercial trading applications. He has worked as a consultant with world-class trading firms such as Goldman Sachs, Transworld Oil, and Daiwa Securities, and created the XT99 trading platform as a joint venture and ongoing strategic alliance between Pardo Capital Limited and Dunn Capital Management. Contact Robert at rep@pardocapital.com, or go to his Web site at http//www.pardocapital.com.
Foreword xv
Preface xvii
Acknowledgments xxix
Introduction 1
Chapter 1 On Trading Strategies 5
Why This Book Was Written 7
Who Will Benefit from This Book? 8
The Goals of This Book 10
The Lay of the Land 10
Chapter 2 The Systematic Trading Edge 17
Discretionary Trading 18
Raising the Bar 19
Verification 22
Quantification 24
Risk and Reward 24
The Performance Profile 26
Objectivity 27
Consistency 29
Extensibility 32
The Benefits of the Historical Simulation 33
Positive Expectancy 34
The Likelihood of Future Profit 34
The Performance Profile 35
Proper Capitalization 35
A Measure of Real-Time Trading Performance 36
The Benefits of Optimization 37
The Benefits of the Walk-Forward Analysis 38
The Advantages of a Thorough Understanding 39
Confidence 40
Strategy Refinement 41
Chapter 3 The Trading Strategy Development Process 43
Two Philosophical Approaches to Strategy Development 44
The Scientific Approach 44
The Path of Empirical Development 45
An Overview of the Trading Strategy Design Process 47
Step 1: Formulate the Trading Strategy 49
Step 2: Translate the Rules into a Definitive Form 49
Step 3: Preliminary Testing 50
Step 4: Optimize the Trading Strategy 51
Step 5: The Walk-Forward Analysis 52
Step 6: Trade the System 53
Step 7: Evaluate Real-Time Performance 54
Step 8: Improving the System 55
Chapter 4 The Strategy Development Platform 57
The Scripting Language 58
Diagnostics 59
Reporting 62
Optimization 68
The Objective Function 68
Speed 68
Automation 69
Walk-Forward Analysis 69
Portfolio Analysis 70
In Conclusion 71
Chapter 5 The Elements of Strategy Design 73
The Three Principal Components of a Strategy 74
Entry and Exit 74
Risk Management 74
Position Sizing 75
An Overview of a Typical Trading Strategy 75
A Trade Equals an Entry and an Exit 76
Entry Filters 78
The Management of Risk 79
Trade Risk 80
Strategy Risk 82
Portfolio Risk 84
The Management of Profit 85
The Trailing Stop 85
The Impact of Overnight Change on the Trailing Stop 87
Profit Targets 87
The Impact of Overnight Change on Target Orders 88
Position Sizing 89
Advanced Strategies 91
Summary 92
Chapter 6 The Historical Simulation 93
The Essential Reports 94
The Performance Summary 94
The Trade List 94
The Equity Curve 107
Performance by Period 108
The Importance of Accuracy 109
Software Limitations 109
Rounding Issues 109
Phantom Trades 111
Price Orders 112
Realistic Assumptions 113
Price and Trade Slippage 113
Opening Gap Slippage 115
Opening and Closing Range Slippage 116
Slippage Due to Size 117
The Significance of Slippage 117
Limit Moves 118
Major Events and Dates 118
Historical Data 120
Stock Prices 120
Cash Markets 120
Futures Markets 121
The Continuous Contract 124
The Perpetual Contract 124
Adjusted Continuous Contracts 125
The Size of the Test Window 126
Statistical Requirements 127
Sample Size and Statistical Error 127
How Many Trades? 129
Stability 129
Degrees of Freedom 130
Frequency of Trading 131
Types of Markets 132
The Bull Market 132
The Bear Market 134
The Cyclic Market 135
The Congested Market 137
Efficient Markets 137
The Life Cycle of a Trading Strategy 140
Window Size and Model Life 141
Chapter 7 Formulation and Specification 145
Formulate the Trading Strategy 145
Specification-Translate the Idea into a Testable Strategy 147
Make a Vague Idea Precise 150
Chapter 8 Preliminary Testing 157
Verification of Calculations and Trades 158
Calculations 159
Trading Rules 159
In Summary 164
Theoretical Expectations 164
Preliminary Profitability 166
The Multimarket and Multiperiod Test 169
Selecting the Basket 169
Determining the Length of the Test Period 171
Segmenting the Data 171
The Test 172
The Results of the Test 177
Chapter 9 Search and Judgment 179
Search Methods 180
The Grid Search 181
The Prioritized Step Search 185
Hill Climbing Search Algorithms 188
Multipoint Hill Climbing Search 189
Advanced Search Methods 191
Simulated Annealing 193
Genetic Algorithms 195
Particle Swarm Optimization 197
General Problems with Search Methods 198
The Objective Function 201
A Review of a Variety of Evaluation Methods 203
Multiple Evaluation Types 208
Chapter 10 Optimization 211
Optimization Contra Overfitting 213
A Simple Optimization 214
The Optimization Framework 216
The Parameters 216
The Scan Range 218
The Historical Sample 220
The Objective Function 222
The Optimization Evaluation 222
A Multimarket and Multiperiod Optimization 223
The Evaluation of the Optimization 225
The Robust Trading Strategy 225
The Robust Optimization 227
The Statistically Significant Optimization Profile 227
The Distribution of the Optimization Profile 229
The Shape of the Optimization Profile 231
How Does the Strategy Respond to Optimization? 235
Does the Strategy Deserve Further Development? 236
Chapter 11 Walk-Forward Analysis 237
Is the Trading Strategy Robust? 238
Robustness and Walk-Forward Efficiency 238
The Cure for Overfitting 239
A More Reliable Measure of Risk and Return 241
Assessing the Impact of Market Changes 241
The Best Parameter Set for Trading 242
The Theory of Relevant Data 243
Peak Performance 243
Statistical Rigor 244
Shifting Markets 245
The Varieties of Market Conditions 245
The Walk-Forward 247
The Role of the Walk-Forward 247
Setting up a Walk-Forward 248
An Example of a Walk-Forward Test 250
The Walk-Forward Analysis 251
The Purpose of the Walk-Forward Analysis 252
An Example of a Walk-Forward Analysis 255
Is the Strategy Robust? 256
What Rate of Profit Should We Expect? 260
What Is the Risk? 261
Walk-Forward Analysis and the Portfolio 261
Chapter 12 The Evaluation of Performance 263
The Trading Strategy as an Investment 263
The Dimension of Risk 264
Compare the Strategy to the Alternatives 264
Maximum Drawdown and Trading Risk 265
Maximum Drawdown in Context 267
Maximum Drawdown and the Trader 268
Maximum Run-up and the Trader 269
Trading Capital and Risk 270
Risk Adjusted Return 272
Reward to Risk Ratio 273
Model Efficiency 273
Consistency 276
Patterns of Profit and Loss 277
Chapter 13 The Many Faces of Overfitting 281
What Is Overfitting? 282
The Abuse of Hindsight 284
The Case of the Overfit Forecasting Model 286
The Case of the Overfit Trading Model 289
The Symptoms of an Overfit Trading Model 290
The Causes of Overfitting 291
Degrees of Freedom 292
Measuring Degrees of Freedom 292
Degrees of Freedom, Sample Size and Startup Overhead 293
Trade Sample Size 295
Optimization Error 1-Overparameterization 296
Optimization Error 2-Overscanning 297
The Big Fish in a Small Pond Syndrome 298
The Walk-Forward Test 298
Chapter 14 Trading the Strategy 301
The Mental Aspects of Trading 302
Return on Investment 303
Poor Strategy 303
Market Contraction 303
Unseen Market Conditions 304
Superior Alternatives 305
Maximum Risk 305
Real-time and Evaluation Performance 308
Comparing the Evaluation and Trade Profile 310
Understanding the Test Profile 311
Performance Quirks 313
The Windfall Profit 315
The Losing Run 316
Flat Production 316
In Conclusion 317
Notes 319
Index 323
Preface xvii
Acknowledgments xxix
Introduction 1
Chapter 1 On Trading Strategies 5
Why This Book Was Written 7
Who Will Benefit from This Book? 8
The Goals of This Book 10
The Lay of the Land 10
Chapter 2 The Systematic Trading Edge 17
Discretionary Trading 18
Raising the Bar 19
Verification 22
Quantification 24
Risk and Reward 24
The Performance Profile 26
Objectivity 27
Consistency 29
Extensibility 32
The Benefits of the Historical Simulation 33
Positive Expectancy 34
The Likelihood of Future Profit 34
The Performance Profile 35
Proper Capitalization 35
A Measure of Real-Time Trading Performance 36
The Benefits of Optimization 37
The Benefits of the Walk-Forward Analysis 38
The Advantages of a Thorough Understanding 39
Confidence 40
Strategy Refinement 41
Chapter 3 The Trading Strategy Development Process 43
Two Philosophical Approaches to Strategy Development 44
The Scientific Approach 44
The Path of Empirical Development 45
An Overview of the Trading Strategy Design Process 47
Step 1: Formulate the Trading Strategy 49
Step 2: Translate the Rules into a Definitive Form 49
Step 3: Preliminary Testing 50
Step 4: Optimize the Trading Strategy 51
Step 5: The Walk-Forward Analysis 52
Step 6: Trade the System 53
Step 7: Evaluate Real-Time Performance 54
Step 8: Improving the System 55
Chapter 4 The Strategy Development Platform 57
The Scripting Language 58
Diagnostics 59
Reporting 62
Optimization 68
The Objective Function 68
Speed 68
Automation 69
Walk-Forward Analysis 69
Portfolio Analysis 70
In Conclusion 71
Chapter 5 The Elements of Strategy Design 73
The Three Principal Components of a Strategy 74
Entry and Exit 74
Risk Management 74
Position Sizing 75
An Overview of a Typical Trading Strategy 75
A Trade Equals an Entry and an Exit 76
Entry Filters 78
The Management of Risk 79
Trade Risk 80
Strategy Risk 82
Portfolio Risk 84
The Management of Profit 85
The Trailing Stop 85
The Impact of Overnight Change on the Trailing Stop 87
Profit Targets 87
The Impact of Overnight Change on Target Orders 88
Position Sizing 89
Advanced Strategies 91
Summary 92
Chapter 6 The Historical Simulation 93
The Essential Reports 94
The Performance Summary 94
The Trade List 94
The Equity Curve 107
Performance by Period 108
The Importance of Accuracy 109
Software Limitations 109
Rounding Issues 109
Phantom Trades 111
Price Orders 112
Realistic Assumptions 113
Price and Trade Slippage 113
Opening Gap Slippage 115
Opening and Closing Range Slippage 116
Slippage Due to Size 117
The Significance of Slippage 117
Limit Moves 118
Major Events and Dates 118
Historical Data 120
Stock Prices 120
Cash Markets 120
Futures Markets 121
The Continuous Contract 124
The Perpetual Contract 124
Adjusted Continuous Contracts 125
The Size of the Test Window 126
Statistical Requirements 127
Sample Size and Statistical Error 127
How Many Trades? 129
Stability 129
Degrees of Freedom 130
Frequency of Trading 131
Types of Markets 132
The Bull Market 132
The Bear Market 134
The Cyclic Market 135
The Congested Market 137
Efficient Markets 137
The Life Cycle of a Trading Strategy 140
Window Size and Model Life 141
Chapter 7 Formulation and Specification 145
Formulate the Trading Strategy 145
Specification-Translate the Idea into a Testable Strategy 147
Make a Vague Idea Precise 150
Chapter 8 Preliminary Testing 157
Verification of Calculations and Trades 158
Calculations 159
Trading Rules 159
In Summary 164
Theoretical Expectations 164
Preliminary Profitability 166
The Multimarket and Multiperiod Test 169
Selecting the Basket 169
Determining the Length of the Test Period 171
Segmenting the Data 171
The Test 172
The Results of the Test 177
Chapter 9 Search and Judgment 179
Search Methods 180
The Grid Search 181
The Prioritized Step Search 185
Hill Climbing Search Algorithms 188
Multipoint Hill Climbing Search 189
Advanced Search Methods 191
Simulated Annealing 193
Genetic Algorithms 195
Particle Swarm Optimization 197
General Problems with Search Methods 198
The Objective Function 201
A Review of a Variety of Evaluation Methods 203
Multiple Evaluation Types 208
Chapter 10 Optimization 211
Optimization Contra Overfitting 213
A Simple Optimization 214
The Optimization Framework 216
The Parameters 216
The Scan Range 218
The Historical Sample 220
The Objective Function 222
The Optimization Evaluation 222
A Multimarket and Multiperiod Optimization 223
The Evaluation of the Optimization 225
The Robust Trading Strategy 225
The Robust Optimization 227
The Statistically Significant Optimization Profile 227
The Distribution of the Optimization Profile 229
The Shape of the Optimization Profile 231
How Does the Strategy Respond to Optimization? 235
Does the Strategy Deserve Further Development? 236
Chapter 11 Walk-Forward Analysis 237
Is the Trading Strategy Robust? 238
Robustness and Walk-Forward Efficiency 238
The Cure for Overfitting 239
A More Reliable Measure of Risk and Return 241
Assessing the Impact of Market Changes 241
The Best Parameter Set for Trading 242
The Theory of Relevant Data 243
Peak Performance 243
Statistical Rigor 244
Shifting Markets 245
The Varieties of Market Conditions 245
The Walk-Forward 247
The Role of the Walk-Forward 247
Setting up a Walk-Forward 248
An Example of a Walk-Forward Test 250
The Walk-Forward Analysis 251
The Purpose of the Walk-Forward Analysis 252
An Example of a Walk-Forward Analysis 255
Is the Strategy Robust? 256
What Rate of Profit Should We Expect? 260
What Is the Risk? 261
Walk-Forward Analysis and the Portfolio 261
Chapter 12 The Evaluation of Performance 263
The Trading Strategy as an Investment 263
The Dimension of Risk 264
Compare the Strategy to the Alternatives 264
Maximum Drawdown and Trading Risk 265
Maximum Drawdown in Context 267
Maximum Drawdown and the Trader 268
Maximum Run-up and the Trader 269
Trading Capital and Risk 270
Risk Adjusted Return 272
Reward to Risk Ratio 273
Model Efficiency 273
Consistency 276
Patterns of Profit and Loss 277
Chapter 13 The Many Faces of Overfitting 281
What Is Overfitting? 282
The Abuse of Hindsight 284
The Case of the Overfit Forecasting Model 286
The Case of the Overfit Trading Model 289
The Symptoms of an Overfit Trading Model 290
The Causes of Overfitting 291
Degrees of Freedom 292
Measuring Degrees of Freedom 292
Degrees of Freedom, Sample Size and Startup Overhead 293
Trade Sample Size 295
Optimization Error 1-Overparameterization 296
Optimization Error 2-Overscanning 297
The Big Fish in a Small Pond Syndrome 298
The Walk-Forward Test 298
Chapter 14 Trading the Strategy 301
The Mental Aspects of Trading 302
Return on Investment 303
Poor Strategy 303
Market Contraction 303
Unseen Market Conditions 304
Superior Alternatives 305
Maximum Risk 305
Real-time and Evaluation Performance 308
Comparing the Evaluation and Trade Profile 310
Understanding the Test Profile 311
Performance Quirks 313
The Windfall Profit 315
The Losing Run 316
Flat Production 316
In Conclusion 317
Notes 319
Index 323
Foreword xv
Preface xvii
Acknowledgments xxix
Introduction 1
Chapter 1 On Trading Strategies 5
Why This Book Was Written 7
Who Will Benefit from This Book? 8
The Goals of This Book 10
The Lay of the Land 10
Chapter 2 The Systematic Trading Edge 17
Discretionary Trading 18
Raising the Bar 19
Verification 22
Quantification 24
Risk and Reward 24
The Performance Profile 26
Objectivity 27
Consistency 29
Extensibility 32
The Benefits of the Historical Simulation 33
Positive Expectancy 34
The Likelihood of Future Profit 34
The Performance Profile 35
Proper Capitalization 35
A Measure of Real-Time Trading Performance 36
The Benefits of Optimization 37
The Benefits of the Walk-Forward Analysis 38
The Advantages of a Thorough Understanding 39
Confidence 40
Strategy Refinement 41
Chapter 3 The Trading Strategy Development Process 43
Two Philosophical Approaches to Strategy Development 44
The Scientific Approach 44
The Path of Empirical Development 45
An Overview of the Trading Strategy Design Process 47
Step 1: Formulate the Trading Strategy 49
Step 2: Translate the Rules into a Definitive Form 49
Step 3: Preliminary Testing 50
Step 4: Optimize the Trading Strategy 51
Step 5: The Walk-Forward Analysis 52
Step 6: Trade the System 53
Step 7: Evaluate Real-Time Performance 54
Step 8: Improving the System 55
Chapter 4 The Strategy Development Platform 57
The Scripting Language 58
Diagnostics 59
Reporting 62
Optimization 68
The Objective Function 68
Speed 68
Automation 69
Walk-Forward Analysis 69
Portfolio Analysis 70
In Conclusion 71
Chapter 5 The Elements of Strategy Design 73
The Three Principal Components of a Strategy 74
Entry and Exit 74
Risk Management 74
Position Sizing 75
An Overview of a Typical Trading Strategy 75
A Trade Equals an Entry and an Exit 76
Entry Filters 78
The Management of Risk 79
Trade Risk 80
Strategy Risk 82
Portfolio Risk 84
The Management of Profit 85
The Trailing Stop 85
The Impact of Overnight Change on the Trailing Stop 87
Profit Targets 87
The Impact of Overnight Change on Target Orders 88
Position Sizing 89
Advanced Strategies 91
Summary 92
Chapter 6 The Historical Simulation 93
The Essential Reports 94
The Performance Summary 94
The Trade List 94
The Equity Curve 107
Performance by Period 108
The Importance of Accuracy 109
Software Limitations 109
Rounding Issues 109
Phantom Trades 111
Price Orders 112
Realistic Assumptions 113
Price and Trade Slippage 113
Opening Gap Slippage 115
Opening and Closing Range Slippage 116
Slippage Due to Size 117
The Significance of Slippage 117
Limit Moves 118
Major Events and Dates 118
Historical Data 120
Stock Prices 120
Cash Markets 120
Futures Markets 121
The Continuous Contract 124
The Perpetual Contract 124
Adjusted Continuous Contracts 125
The Size of the Test Window 126
Statistical Requirements 127
Sample Size and Statistical Error 127
How Many Trades? 129
Stability 129
Degrees of Freedom 130
Frequency of Trading 131
Types of Markets 132
The Bull Market 132
The Bear Market 134
The Cyclic Market 135
The Congested Market 137
Efficient Markets 137
The Life Cycle of a Trading Strategy 140
Window Size and Model Life 141
Chapter 7 Formulation and Specification 145
Formulate the Trading Strategy 145
Specification-Translate the Idea into a Testable Strategy 147
Make a Vague Idea Precise 150
Chapter 8 Preliminary Testing 157
Verification of Calculations and Trades 158
Calculations 159
Trading Rules 159
In Summary 164
Theoretical Expectations 164
Preliminary Profitability 166
The Multimarket and Multiperiod Test 169
Selecting the Basket 169
Determining the Length of the Test Period 171
Segmenting the Data 171
The Test 172
The Results of the Test 177
Chapter 9 Search and Judgment 179
Search Methods 180
The Grid Search 181
The Prioritized Step Search 185
Hill Climbing Search Algorithms 188
Multipoint Hill Climbing Search 189
Advanced Search Methods 191
Simulated Annealing 193
Genetic Algorithms 195
Particle Swarm Optimization 197
General Problems with Search Methods 198
The Objective Function 201
A Review of a Variety of Evaluation Methods 203
Multiple Evaluation Types 208
Chapter 10 Optimization 211
Optimization Contra Overfitting 213
A Simple Optimization 214
The Optimization Framework 216
The Parameters 216
The Scan Range 218
The Historical Sample 220
The Objective Function 222
The Optimization Evaluation 222
A Multimarket and Multiperiod Optimization 223
The Evaluation of the Optimization 225
The Robust Trading Strategy 225
The Robust Optimization 227
The Statistically Significant Optimization Profile 227
The Distribution of the Optimization Profile 229
The Shape of the Optimization Profile 231
How Does the Strategy Respond to Optimization? 235
Does the Strategy Deserve Further Development? 236
Chapter 11 Walk-Forward Analysis 237
Is the Trading Strategy Robust? 238
Robustness and Walk-Forward Efficiency 238
The Cure for Overfitting 239
A More Reliable Measure of Risk and Return 241
Assessing the Impact of Market Changes 241
The Best Parameter Set for Trading 242
The Theory of Relevant Data 243
Peak Performance 243
Statistical Rigor 244
Shifting Markets 245
The Varieties of Market Conditions 245
The Walk-Forward 247
The Role of the Walk-Forward 247
Setting up a Walk-Forward 248
An Example of a Walk-Forward Test 250
The Walk-Forward Analysis 251
The Purpose of the Walk-Forward Analysis 252
An Example of a Walk-Forward Analysis 255
Is the Strategy Robust? 256
What Rate of Profit Should We Expect? 260
What Is the Risk? 261
Walk-Forward Analysis and the Portfolio 261
Chapter 12 The Evaluation of Performance 263
The Trading Strategy as an Investment 263
The Dimension of Risk 264
Compare the Strategy to the Alternatives 264
Maximum Drawdown and Trading Risk 265
Maximum Drawdown in Context 267
Maximum Drawdown and the Trader 268
Maximum Run-up and the Trader 269
Trading Capital and Risk 270
Risk Adjusted Return 272
Reward to Risk Ratio 273
Model Efficiency 273
Consistency 276
Patterns of Profit and Loss 277
Chapter 13 The Many Faces of Overfitting 281
What Is Overfitting? 282
The Abuse of Hindsight 284
The Case of the Overfit Forecasting Model 286
The Case of the Overfit Trading Model 289
The Symptoms of an Overfit Trading Model 290
The Causes of Overfitting 291
Degrees of Freedom 292
Measuring Degrees of Freedom 292
Degrees of Freedom, Sample Size and Startup Overhead 293
Trade Sample Size 295
Optimization Error 1-Overparameterization 296
Optimization Error 2-Overscanning 297
The Big Fish in a Small Pond Syndrome 298
The Walk-Forward Test 298
Chapter 14 Trading the Strategy 301
The Mental Aspects of Trading 302
Return on Investment 303
Poor Strategy 303
Market Contraction 303
Unseen Market Conditions 304
Superior Alternatives 305
Maximum Risk 305
Real-time and Evaluation Performance 308
Comparing the Evaluation and Trade Profile 310
Understanding the Test Profile 311
Performance Quirks 313
The Windfall Profit 315
The Losing Run 316
Flat Production 316
In Conclusion 317
Notes 319
Index 323
Preface xvii
Acknowledgments xxix
Introduction 1
Chapter 1 On Trading Strategies 5
Why This Book Was Written 7
Who Will Benefit from This Book? 8
The Goals of This Book 10
The Lay of the Land 10
Chapter 2 The Systematic Trading Edge 17
Discretionary Trading 18
Raising the Bar 19
Verification 22
Quantification 24
Risk and Reward 24
The Performance Profile 26
Objectivity 27
Consistency 29
Extensibility 32
The Benefits of the Historical Simulation 33
Positive Expectancy 34
The Likelihood of Future Profit 34
The Performance Profile 35
Proper Capitalization 35
A Measure of Real-Time Trading Performance 36
The Benefits of Optimization 37
The Benefits of the Walk-Forward Analysis 38
The Advantages of a Thorough Understanding 39
Confidence 40
Strategy Refinement 41
Chapter 3 The Trading Strategy Development Process 43
Two Philosophical Approaches to Strategy Development 44
The Scientific Approach 44
The Path of Empirical Development 45
An Overview of the Trading Strategy Design Process 47
Step 1: Formulate the Trading Strategy 49
Step 2: Translate the Rules into a Definitive Form 49
Step 3: Preliminary Testing 50
Step 4: Optimize the Trading Strategy 51
Step 5: The Walk-Forward Analysis 52
Step 6: Trade the System 53
Step 7: Evaluate Real-Time Performance 54
Step 8: Improving the System 55
Chapter 4 The Strategy Development Platform 57
The Scripting Language 58
Diagnostics 59
Reporting 62
Optimization 68
The Objective Function 68
Speed 68
Automation 69
Walk-Forward Analysis 69
Portfolio Analysis 70
In Conclusion 71
Chapter 5 The Elements of Strategy Design 73
The Three Principal Components of a Strategy 74
Entry and Exit 74
Risk Management 74
Position Sizing 75
An Overview of a Typical Trading Strategy 75
A Trade Equals an Entry and an Exit 76
Entry Filters 78
The Management of Risk 79
Trade Risk 80
Strategy Risk 82
Portfolio Risk 84
The Management of Profit 85
The Trailing Stop 85
The Impact of Overnight Change on the Trailing Stop 87
Profit Targets 87
The Impact of Overnight Change on Target Orders 88
Position Sizing 89
Advanced Strategies 91
Summary 92
Chapter 6 The Historical Simulation 93
The Essential Reports 94
The Performance Summary 94
The Trade List 94
The Equity Curve 107
Performance by Period 108
The Importance of Accuracy 109
Software Limitations 109
Rounding Issues 109
Phantom Trades 111
Price Orders 112
Realistic Assumptions 113
Price and Trade Slippage 113
Opening Gap Slippage 115
Opening and Closing Range Slippage 116
Slippage Due to Size 117
The Significance of Slippage 117
Limit Moves 118
Major Events and Dates 118
Historical Data 120
Stock Prices 120
Cash Markets 120
Futures Markets 121
The Continuous Contract 124
The Perpetual Contract 124
Adjusted Continuous Contracts 125
The Size of the Test Window 126
Statistical Requirements 127
Sample Size and Statistical Error 127
How Many Trades? 129
Stability 129
Degrees of Freedom 130
Frequency of Trading 131
Types of Markets 132
The Bull Market 132
The Bear Market 134
The Cyclic Market 135
The Congested Market 137
Efficient Markets 137
The Life Cycle of a Trading Strategy 140
Window Size and Model Life 141
Chapter 7 Formulation and Specification 145
Formulate the Trading Strategy 145
Specification-Translate the Idea into a Testable Strategy 147
Make a Vague Idea Precise 150
Chapter 8 Preliminary Testing 157
Verification of Calculations and Trades 158
Calculations 159
Trading Rules 159
In Summary 164
Theoretical Expectations 164
Preliminary Profitability 166
The Multimarket and Multiperiod Test 169
Selecting the Basket 169
Determining the Length of the Test Period 171
Segmenting the Data 171
The Test 172
The Results of the Test 177
Chapter 9 Search and Judgment 179
Search Methods 180
The Grid Search 181
The Prioritized Step Search 185
Hill Climbing Search Algorithms 188
Multipoint Hill Climbing Search 189
Advanced Search Methods 191
Simulated Annealing 193
Genetic Algorithms 195
Particle Swarm Optimization 197
General Problems with Search Methods 198
The Objective Function 201
A Review of a Variety of Evaluation Methods 203
Multiple Evaluation Types 208
Chapter 10 Optimization 211
Optimization Contra Overfitting 213
A Simple Optimization 214
The Optimization Framework 216
The Parameters 216
The Scan Range 218
The Historical Sample 220
The Objective Function 222
The Optimization Evaluation 222
A Multimarket and Multiperiod Optimization 223
The Evaluation of the Optimization 225
The Robust Trading Strategy 225
The Robust Optimization 227
The Statistically Significant Optimization Profile 227
The Distribution of the Optimization Profile 229
The Shape of the Optimization Profile 231
How Does the Strategy Respond to Optimization? 235
Does the Strategy Deserve Further Development? 236
Chapter 11 Walk-Forward Analysis 237
Is the Trading Strategy Robust? 238
Robustness and Walk-Forward Efficiency 238
The Cure for Overfitting 239
A More Reliable Measure of Risk and Return 241
Assessing the Impact of Market Changes 241
The Best Parameter Set for Trading 242
The Theory of Relevant Data 243
Peak Performance 243
Statistical Rigor 244
Shifting Markets 245
The Varieties of Market Conditions 245
The Walk-Forward 247
The Role of the Walk-Forward 247
Setting up a Walk-Forward 248
An Example of a Walk-Forward Test 250
The Walk-Forward Analysis 251
The Purpose of the Walk-Forward Analysis 252
An Example of a Walk-Forward Analysis 255
Is the Strategy Robust? 256
What Rate of Profit Should We Expect? 260
What Is the Risk? 261
Walk-Forward Analysis and the Portfolio 261
Chapter 12 The Evaluation of Performance 263
The Trading Strategy as an Investment 263
The Dimension of Risk 264
Compare the Strategy to the Alternatives 264
Maximum Drawdown and Trading Risk 265
Maximum Drawdown in Context 267
Maximum Drawdown and the Trader 268
Maximum Run-up and the Trader 269
Trading Capital and Risk 270
Risk Adjusted Return 272
Reward to Risk Ratio 273
Model Efficiency 273
Consistency 276
Patterns of Profit and Loss 277
Chapter 13 The Many Faces of Overfitting 281
What Is Overfitting? 282
The Abuse of Hindsight 284
The Case of the Overfit Forecasting Model 286
The Case of the Overfit Trading Model 289
The Symptoms of an Overfit Trading Model 290
The Causes of Overfitting 291
Degrees of Freedom 292
Measuring Degrees of Freedom 292
Degrees of Freedom, Sample Size and Startup Overhead 293
Trade Sample Size 295
Optimization Error 1-Overparameterization 296
Optimization Error 2-Overscanning 297
The Big Fish in a Small Pond Syndrome 298
The Walk-Forward Test 298
Chapter 14 Trading the Strategy 301
The Mental Aspects of Trading 302
Return on Investment 303
Poor Strategy 303
Market Contraction 303
Unseen Market Conditions 304
Superior Alternatives 305
Maximum Risk 305
Real-time and Evaluation Performance 308
Comparing the Evaluation and Trade Profile 310
Understanding the Test Profile 311
Performance Quirks 313
The Windfall Profit 315
The Losing Run 316
Flat Production 316
In Conclusion 317
Notes 319
Index 323