Statistically Sound Indicators For Financial Market Prediction


Book Description

In my decades of professional experience as a statistical consultant in the field of financial market trading, the single most important lesson that I've learned about trading is this: the quality of the indicators is vastly more important than the quality of the trading algorithm or predictive model. If you are sloppy about your indicator computation, no high-tech model or algorithm is going to bail you out. Garbage in, garbage out still rules. This book presents numerous traditional and modern indicators that have been shown to carry significant predictive information. But it will do far more than just that. In addition to a wealth of useful indicators, you will see the following issues discussed: There are simple tests that let you measure the potential information-carrying capacity of an indicator. If your proposed indicator fails this information-capacity test, you should consider revising it. This book describes simple transformations that raise the information-carrying capacity of your indicators and make them more useful for algorithmic trading. You will learn how to locate the regions in your indicator's domain where maximum predictive power occurs so that you can focus on these important values. You will learn how to compute statistically sound probabilities to help you decide whether the performance of an indicator is legitimate or just the product of random good luck. Most traditional indicators examine one market at a time. But you will learn how examining pairs of markets, or even large collections of markets simultaneously, can provide valuable indicators that quantify complex inter-market relationships. Govinda Khalsa devised a powerful indicator called the Follow-Through Index which reveals how likely it is that an existing trend will continue. This indicator is extremely useful to trend-following traders, but due to its complexity it is not widely employed. This book presents its essential theory and implementation in C++. Gary Anderson developed a detailed and profound theory of market behavior that he calls The JANUS Factor. This theory enables computation of several powerful indicators that tell us, among other things, when trading opportunities are most likely to be profitable and when we should stay out of the market. This book provides the fundamental theory behind The JANUS Factor along with extensive C++ code. Whether you compute a few indicators and trade by watching their plots on a computer screen, or do simple automated algorithmic trading, or employ sophisticated predictive models, this book provides tools that help you take your trading to a higher, more profitable level.




Statistically Sound Machine Learning for Algorithmic Trading of Financial Instruments


Book Description

This book serves two purposes. First, it teaches the importance of using sophisticated yet accessible statistical methods to evaluate a trading system before it is put to real-world use. In order to accommodate readers having limited mathematical background, these techniques are illustrated with step-by-step examples using actual market data, and all examples are explained in plain language. Second, this book shows how the free program TSSB (Trading System Synthesis & Boosting) can be used to develop and test trading systems. The machine learning and statistical algorithms available in TSSB go far beyond those available in other off-the-shelf development software. Intelligent use of these state-of-the-art techniques greatly improves the likelihood of obtaining a trading system whose impressive backtest results continue when the system is put to use in a trading account. Among other things, this book will teach the reader how to: Estimate future performance with rigorous algorithms Evaluate the influence of good luck in backtests Detect overfitting before deploying your system Estimate performance bias due to model fitting and selection of seemingly superior systems Use state-of-the-art ensembles of models to form consensus trade decisions Build optimal portfolios of trading systems and rigorously test their expected performance Search thousands of markets to find subsets that are especially predictable Create trading systems that specialize in specific market regimes such as trending/flat or high/low volatility More information on the TSSB program can be found at TSSBsoftware dot com.




Cybernetic Analysis for Stocks and Futures


Book Description

Cutting-edge insight from the leader in trading technology In Cybernetic Analysis for Stocks and Futures, noted technical analyst John Ehlers continues to enlighten readers on the art of predicting the market based on tested systems. With application of his engineering expertise, Ehlers explains the latest, most advanced techniques that help traders predict stock and futures markets with surgical precision. Unique new indicators and automatic trading systems are described in text as well as Easy Language and EFS code. The approaches are universal and robust enough to be applied to a full range of market conditions. John F. Ehlers (Santa Barbara, CA) is President of MESA Software (www.mesasoftware.com) and has also written Rocket Science for Traders (0-471-40567-1) as well as numerous articles for Futures and Technical Analysis of Stocks & Commodities magazines.




Evidence-Based Technical Analysis


Book Description

Evidence-Based Technical Analysis examines how you can apply the scientific method, and recently developed statistical tests, to determine the true effectiveness of technical trading signals. Throughout the book, expert David Aronson provides you with comprehensive coverage of this new methodology, which is specifically designed for evaluating the performance of rules/signals that are discovered by data mining.




Cybernetic Trading Strategies


Book Description

Ein Überblick über die aktuellsten Technologien zum Aufbau einer Handelsstrategie: neuronale Netzwerke, genetische Algorithmen, Expertensysteme, Fuzzy logic und statistische Mustererkennung. Gezeigt wird, wie diese neuen Methoden in klassische Analysenverfahren integriert werden können. Auch Erläuterungen zur Prüfung und Bewertung existierender Systeme kommen nicht zu kurz.




Testing and Tuning Market Trading Systems


Book Description

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. What You Will Learn See how the 'spaghetti-on-the-wall' approach to trading system development can be done legitimatelyDetect overfitting early in developmentEstimate the probability that your system's backtest results could have been due to just good luckRegularize a predictive model so it automatically selects an optimal subset of indicator candidatesRapidly find the global optimum for any type of parameterized trading systemAssess the ruggedness of your trading system against market changesEnhance the stationarity and information content of your proprietary indicatorsNest one layer of walkforward analysis inside another layer to account for selection bias in complex trading systemsCompute a lower bound on your system's mean future performanceBound expected periodic returns to detect on-going system deterioration before it becomes severeEstimate the probability of catastrophic drawdown Who This Book Is For Experienced C++ programmers, developers, and software engineers. Prior experience with rigorous statistical procedures to evaluate and maximize the quality of systems is recommended as well.




The Janus Factor


Book Description

Tap into feedback loops to unravel market trends and discover profitable trading opportunities The Janus Factor presents an innovative theory that describes how feedback loops determine market behavior. The book clearly shows how the theory can be applied to make trading more profitable. The metaphor of the two-faced god Janus is used to reflect alternating market environments, one dominated by trend followers and the other by contrarian bargain hunters. In this book, author Gary Anderson puts forth a systematic view of how positive and negative feedback drive capital flows in the stock market and how those flows tend to favor either sector leaders or sector laggards at different times. Discusses how to find better performing stocks Outlines when and how to use momentum strategies for big profits Addresses when and how to use contrarian strategies Gary Anderson is the winner of the 2003 Charles H. Dow Award, presented by the Market Technicians Association Intellectually challenging and highly practical, The Janus Factor offers insight into market behavior and new methods for capturing stock market trends.




Cycle Analytics for Traders, + Downloadable Software


Book Description

A technical resource for self-directed traders who want to understand the scientific underpinnings of the filters and indicators used in trading decisions This is a technical resource book written for self-directed traders who want to understand the scientific underpinnings of the filters and indicators they use in their trading decisions. There is plenty of theory and years of research behind the unique solutions provided in this book, but the emphasis is on simplicity rather than mathematical purity. In particular, the solutions use a pragmatic approach to attain effective trading results. Cycle Analytics for Traders will allow traders to think of their indicators and trading strategies in the frequency domain as well as their motions in the time domain. This new viewpoint will enable them to select the most efficient filter lengths for the job at hand. Shows an awareness of Spectral Dilation, and how to eliminate it or to use it to your advantage Discusses how to use Automatic Gain Control (AGC) to normalize indicator amplitude swings Explains thinking of prices in the frequency domain as well as in the time domain Creates an awareness that all indicators are statistical rather than absolute, as implied by their single line displays Sheds light on several advanced cookbook filters Showcases new advanced indicators like the Even Better Sinewave and Decycler Indicators Explains how to use transforms to improve the display and interpretation of indicators




Trading on Sentiment


Book Description

In his debut book on trading psychology, Inside the Investor’s Brain, Richard Peterson demonstrated how managing emotions helps top investors outperform. Now, in Trading on Sentiment, he takes you inside the science of crowd psychology and demonstrates that not only do price patterns exist, but the most predictable ones are rooted in our shared human nature. Peterson’s team developed text analysis engines to mine data - topics, beliefs, and emotions - from social media. Based on that data, they put together a market-neutral social media-based hedge fund that beat the S&P 500 by more than twenty-four percent—through the 2008 financial crisis. In this groundbreaking guide, he shows you how they did it and why it worked. Applying algorithms to social media data opened up an unprecedented world of insight into the elusive patterns of investor sentiment driving repeating market moves. Inside, you gain a privileged look at the media content that moves investors, along with time-tested techniques to make the smart moves—even when it doesn’t feel right. This book digs underneath technicals and fundamentals to explain the primary mover of market prices - the global information flow and how investors react to it. It provides the expert guidance you need to develop a competitive edge, manage risk, and overcome our sometimes-flawed human nature. Learn how traders are using sentiment analysis and statistical tools to extract value from media data in order to: Foresee important price moves using an understanding of how investors process news. Make more profitable investment decisions by identifying when prices are trending, when trends are turning, and when sharp market moves are likely to reverse. Use media sentiment to improve value and momentum investing returns. Avoid the pitfalls of unique price patterns found in commodities, currencies, and during speculative bubbles Trading on Sentiment deepens your understanding of markets and supplies you with the tools and techniques to beat global markets— whether they’re going up, down, or sideways.




Modern Data Mining Algorithms in C++ and CUDA C


Book Description

Discover a variety of data-mining algorithms that are useful for selecting small sets of important features from among unwieldy masses of candidates, or extracting useful features from measured variables. As a serious data miner you will often be faced with thousands of candidate features for your prediction or classification application, with most of the features being of little or no value. You’ll know that many of these features may be useful only in combination with certain other features while being practically worthless alone or in combination with most others. Some features may have enormous predictive power, but only within a small, specialized area of the feature space. The problems that plague modern data miners are endless. This book helps you solve this problem by presenting modern feature selection techniques and the code to implement them. Some of these techniques are: Forward selection component analysis Local feature selection Linking features and a target with a hidden Markov modelImprovements on traditional stepwise selectionNominal-to-ordinal conversion All algorithms are intuitively justified and supported by the relevant equations and explanatory material. The author also presents and explains complete, highly commented source code. The example code is in C++ and CUDA C but Python or other code can be substituted; the algorithm is important, not the code that's used to write it. What You Will Learn Combine principal component analysis with forward and backward stepwise selection to identify a compact subset of a large collection of variables that captures the maximum possible variation within the entire set. Identify features that may have predictive power over only a small subset of the feature domain. Such features can be profitably used by modern predictive models but may be missed by other feature selection methods. Find an underlying hidden Markov model that controls the distributions of feature variables and the target simultaneously. The memory inherent in this method is especially valuable in high-noise applications such as prediction of financial markets.Improve traditional stepwise selection in three ways: examine a collection of 'best-so-far' feature sets; test candidate features for inclusion with cross validation to automatically and effectively limit model complexity; and at each step estimate the probability that our results so far could be just the product of random good luck. We also estimate the probability that the improvement obtained by adding a new variable could have been just good luck. Take a potentially valuable nominal variable (a category or class membership) that is unsuitable for input to a prediction model, and assign to each category a sensible numeric value that can be used as a model input. Who This Book Is For Intermediate to advanced data science programmers and analysts.