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.




Machine Learning in Finance


Book Description

This book introduces machine learning methods in finance. It presents a unified treatment of machine learning and various statistical and computational disciplines in quantitative finance, such as financial econometrics and discrete time stochastic control, with an emphasis on how theory and hypothesis tests inform the choice of algorithm for financial data modeling and decision making. With the trend towards increasing computational resources and larger datasets, machine learning has grown into an important skillset for the finance industry. This book is written for advanced graduate students and academics in financial econometrics, mathematical finance and applied statistics, in addition to quants and data scientists in the field of quantitative finance. Machine Learning in Finance: From Theory to Practice is divided into three parts, each part covering theory and applications. The first presents supervised learning for cross-sectional data from both a Bayesian and frequentist perspective. The more advanced material places a firm emphasis on neural networks, including deep learning, as well as Gaussian processes, with examples in investment management and derivative modeling. The second part presents supervised learning for time series data, arguably the most common data type used in finance with examples in trading, stochastic volatility and fixed income modeling. Finally, the third part presents reinforcement learning and its applications in trading, investment and wealth management. Python code examples are provided to support the readers' understanding of the methodologies and applications. The book also includes more than 80 mathematical and programming exercises, with worked solutions available to instructors. As a bridge to research in this emergent field, the final chapter presents the frontiers of machine learning in finance from a researcher's perspective, highlighting how many well-known concepts in statistical physics are likely to emerge as important methodologies for machine learning in finance.




Advances in Financial Machine Learning


Book Description

Learn to understand and implement the latest machine learning innovations to improve your investment performance Machine learning (ML) is changing virtually every aspect of our lives. Today, ML algorithms accomplish tasks that – until recently – only expert humans could perform. And finance is ripe for disruptive innovations that will transform how the following generations understand money and invest. In the book, readers will learn how to: Structure big data in a way that is amenable to ML algorithms Conduct research with ML algorithms on big data Use supercomputing methods and back test their discoveries while avoiding false positives Advances in Financial Machine Learning addresses real life problems faced by practitioners every day, and explains scientifically sound solutions using math, supported by code and examples. Readers become active users who can test the proposed solutions in their individual setting. Written by a recognized expert and portfolio manager, this book will equip investment professionals with the groundbreaking tools needed to succeed in modern finance.




Statistical Arbitrage


Book Description

While statistical arbitrage has faced some tough times?as markets experienced dramatic changes in dynamics beginning in 2000?new developments in algorithmic trading have allowed it to rise from the ashes of that fire. Based on the results of author Andrew Pole?s own research and experience running a statistical arbitrage hedge fund for eight years?in partnership with a group whose own history stretches back to the dawn of what was first called pairs trading?this unique guide provides detailed insights into the nuances of a proven investment strategy. Filled with in-depth insights and expert advice, Statistical Arbitrage contains comprehensive analysis that will appeal to both investors looking for an overview of this discipline, as well as quants looking for critical insights into modeling, risk management, and implementation of the strategy.




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.




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.




Machine Learning and Data Science Blueprints for Finance


Book Description

Over the next few decades, machine learning and data science will transform the finance industry. With this practical book, analysts, traders, researchers, and developers will learn how to build machine learning algorithms crucial to the industry. You’ll examine ML concepts and over 20 case studies in supervised, unsupervised, and reinforcement learning, along with natural language processing (NLP). Ideal for professionals working at hedge funds, investment and retail banks, and fintech firms, this book also delves deep into portfolio management, algorithmic trading, derivative pricing, fraud detection, asset price prediction, sentiment analysis, and chatbot development. You’ll explore real-life problems faced by practitioners and learn scientifically sound solutions supported by code and examples. This book covers: Supervised learning regression-based models for trading strategies, derivative pricing, and portfolio management Supervised learning classification-based models for credit default risk prediction, fraud detection, and trading strategies Dimensionality reduction techniques with case studies in portfolio management, trading strategy, and yield curve construction Algorithms and clustering techniques for finding similar objects, with case studies in trading strategies and portfolio management Reinforcement learning models and techniques used for building trading strategies, derivatives hedging, and portfolio management NLP techniques using Python libraries such as NLTK and scikit-learn for transforming text into meaningful representations




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 Science of Algorithmic Trading and Portfolio Management


Book Description

The Science of Algorithmic Trading and Portfolio Management, with its emphasis on algorithmic trading processes and current trading models, sits apart from others of its kind. Robert Kissell, the first author to discuss algorithmic trading across the various asset classes, provides key insights into ways to develop, test, and build trading algorithms. Readers learn how to evaluate market impact models and assess performance across algorithms, traders, and brokers, and acquire the knowledge to implement electronic trading systems. This valuable book summarizes market structure, the formation of prices, and how different participants interact with one another, including bluffing, speculating, and gambling. Readers learn the underlying details and mathematics of customized trading algorithms, as well as advanced modeling techniques to improve profitability through algorithmic trading and appropriate risk management techniques. Portfolio management topics, including quant factors and black box models, are discussed, and an accompanying website includes examples, data sets supplementing exercises in the book, and large projects. - Prepares readers to evaluate market impact models and assess performance across algorithms, traders, and brokers. - Helps readers design systems to manage algorithmic risk and dark pool uncertainty. - Summarizes an algorithmic decision making framework to ensure consistency between investment objectives and trading objectives.




Advances in Financial Machine Learning


Book Description

Learn to understand and implement the latest machine learning innovations to improve your investment performance Machine learning (ML) is changing virtually every aspect of our lives. Today, ML algorithms accomplish tasks that – until recently – only expert humans could perform. And finance is ripe for disruptive innovations that will transform how the following generations understand money and invest. In the book, readers will learn how to: Structure big data in a way that is amenable to ML algorithms Conduct research with ML algorithms on big data Use supercomputing methods and back test their discoveries while avoiding false positives Advances in Financial Machine Learning addresses real life problems faced by practitioners every day, and explains scientifically sound solutions using math, supported by code and examples. Readers become active users who can test the proposed solutions in their individual setting. Written by a recognized expert and portfolio manager, this book will equip investment professionals with the groundbreaking tools needed to succeed in modern finance.