A Machine Learning based Pairs Trading Investment Strategy

A Machine Learning based Pairs Trading Investment Strategy
Author: Simão Moraes Sarmento,Nuno Horta
Publsiher: Springer Nature
Total Pages: 108
Release: 2020-07-13
Genre: Technology & Engineering
ISBN: 9783030472511

Download A Machine Learning based Pairs Trading Investment Strategy Book in PDF, Epub and Kindle

This book investigates the application of promising machine learning techniques to address two problems: (i) how to find profitable pairs while constraining the search space and (ii) how to avoid long decline periods due to prolonged divergent pairs. It also proposes the integration of an unsupervised learning algorithm, OPTICS, to handle problem (i), and demonstrates that the suggested technique can outperform the common pairs search methods, achieving an average portfolio Sharpe ratio of 3.79, in comparison to 3.58 and 2.59 obtained using standard approaches. For problem (ii), the authors introduce a forecasting-based trading model capable of reducing the periods of portfolio decline by 75%. However, this comes at the expense of decreasing overall profitability. The authors also test the proposed strategy using an ARMA model, an LSTM and an LSTM encoder-decoder.

Machine Learning for Algorithmic Trading

Machine Learning for Algorithmic Trading
Author: Stefan Jansen
Publsiher: Packt Publishing Ltd
Total Pages: 822
Release: 2020-07-31
Genre: Business & Economics
ISBN: 9781839216787

Download Machine Learning for Algorithmic Trading Book in PDF, Epub and Kindle

Leverage machine learning to design and back-test automated trading strategies for real-world markets using pandas, TA-Lib, scikit-learn, LightGBM, SpaCy, Gensim, TensorFlow 2, Zipline, backtrader, Alphalens, and pyfolio. Purchase of the print or Kindle book includes a free eBook in the PDF format. Key FeaturesDesign, train, and evaluate machine learning algorithms that underpin automated trading strategiesCreate a research and strategy development process to apply predictive modeling to trading decisionsLeverage NLP and deep learning to extract tradeable signals from market and alternative dataBook Description The explosive growth of digital data has boosted the demand for expertise in trading strategies that use machine learning (ML). This revised and expanded second edition enables you to build and evaluate sophisticated supervised, unsupervised, and reinforcement learning models. This book introduces end-to-end machine learning for the trading workflow, from the idea and feature engineering to model optimization, strategy design, and backtesting. It illustrates this by using examples ranging from linear models and tree-based ensembles to deep-learning techniques from cutting edge research. This edition shows how to work with market, fundamental, and alternative data, such as tick data, minute and daily bars, SEC filings, earnings call transcripts, financial news, or satellite images to generate tradeable signals. It illustrates how to engineer financial features or alpha factors that enable an ML model to predict returns from price data for US and international stocks and ETFs. It also shows how to assess the signal content of new features using Alphalens and SHAP values and includes a new appendix with over one hundred alpha factor examples. By the end, you will be proficient in translating ML model predictions into a trading strategy that operates at daily or intraday horizons, and in evaluating its performance. What you will learnLeverage market, fundamental, and alternative text and image dataResearch and evaluate alpha factors using statistics, Alphalens, and SHAP valuesImplement machine learning techniques to solve investment and trading problemsBacktest and evaluate trading strategies based on machine learning using Zipline and BacktraderOptimize portfolio risk and performance analysis using pandas, NumPy, and pyfolioCreate a pairs trading strategy based on cointegration for US equities and ETFsTrain a gradient boosting model to predict intraday returns using AlgoSeek's high-quality trades and quotes dataWho this book is for If you are a data analyst, data scientist, Python developer, investment analyst, or portfolio manager interested in getting hands-on machine learning knowledge for trading, this book is for you. This book is for you if you want to learn how to extract value from a diverse set of data sources using machine learning to design your own systematic trading strategies. Some understanding of Python and machine learning techniques is required.

Pairs Trading

Pairs Trading
Author: Ganapathy Vidyamurthy
Publsiher: John Wiley & Sons
Total Pages: 295
Release: 2011-02-02
Genre: Business & Economics
ISBN: 9781118045701

Download Pairs Trading Book in PDF, Epub and Kindle

The first in-depth analysis of pairs trading Pairs trading is a market-neutral strategy in its most simple form. The strategy involves being long (or bullish) one asset and short (or bearish) another. If properly performed, the investor will gain if the market rises or falls. Pairs Trading reveals the secrets of this rigorous quantitative analysis program to provide individuals and investment houses with the tools they need to successfully implement and profit from this proven trading methodology. Pairs Trading contains specific and tested formulas for identifying and investing in pairs, and answers important questions such as what ratio should be used to construct the pairs properly. Ganapathy Vidyamurthy (Stamford, CT) is currently a quantitative software analyst and developer at a major New York City hedge fund.

Optimal Mean Reversion Trading

Optimal Mean Reversion Trading
Author: Tim Leung (Professor of industrial engineering),X. I. N. LI
Publsiher: World Scientific
Total Pages: 221
Release: 2015-11-26
Genre: Business & Economics
ISBN: 9789814725927

Download Optimal Mean Reversion Trading Book in PDF, Epub and Kindle

"Optimal Mean Reversion Trading: Mathematical Analysis and Practical Applications provides a systematic study to the practical problem of optimal trading in the presence of mean-reverting price dynamics. It is self-contained and organized in its presentation, and provides rigorous mathematical analysis as well as computational methods for trading ETFs, options, futures on commodities or volatility indices, and credit risk derivatives. This book offers a unique financial engineering approach that combines novel analytical methodologies and applications to a wide array of real-world examples. It extracts the mathematical problems from various trading approaches and scenarios, but also addresses the practical aspects of trading problems, such as model estimation, risk premium, risk constraints, and transaction costs. The explanations in the book are detailed enough to capture the interest of the curious student or researcher, and complete enough to give the necessary background material for further exploration into the subject and related literature. This book will be a useful tool for anyone interested in financial engineering, particularly algorithmic trading and commodity trading, and would like to understand the mathematically optimal strategies in different market environments."--

Algorithmic Trading

Algorithmic Trading
Author: Ernie Chan
Publsiher: John Wiley & Sons
Total Pages: 230
Release: 2013-05-28
Genre: Business & Economics
ISBN: 9781118460146

Download Algorithmic Trading Book in PDF, Epub and Kindle

Praise for Algorithmic TRADING “Algorithmic Trading is an insightful book on quantitative trading written by a seasoned practitioner. What sets this book apart from many others in the space is the emphasis on real examples as opposed to just theory. Concepts are not only described, they are brought to life with actual trading strategies, which give the reader insight into how and why each strategy was developed, how it was implemented, and even how it was coded. This book is a valuable resource for anyone looking to create their own systematic trading strategies and those involved in manager selection, where the knowledge contained in this book will lead to a more informed and nuanced conversation with managers.” —DAREN SMITH, CFA, CAIA, FSA, Managing Director, Manager Selection & Portfolio Construction, University of Toronto Asset Management “Using an excellent selection of mean reversion and momentum strategies, Ernie explains the rationale behind each one, shows how to test it, how to improve it, and discusses implementation issues. His book is a careful, detailed exposition of the scientific method applied to strategy development. For serious retail traders, I know of no other book that provides this range of examples and level of detail. His discussions of how regime changes affect strategies, and of risk management, are invaluable bonuses.” —ROGER HUNTER, Mathematician and Algorithmic Trader

Hands On Machine Learning for Algorithmic Trading

Hands On Machine Learning for Algorithmic Trading
Author: Stefan Jansen
Publsiher: Packt Publishing Ltd
Total Pages: 668
Release: 2018-12-31
Genre: Computers
ISBN: 9781789342710

Download Hands On Machine Learning for Algorithmic Trading Book in PDF, Epub and Kindle

Explore effective trading strategies in real-world markets using NumPy, spaCy, pandas, scikit-learn, and Keras Key FeaturesImplement machine learning algorithms to build, train, and validate algorithmic modelsCreate your own algorithmic design process to apply probabilistic machine learning approaches to trading decisionsDevelop neural networks for algorithmic trading to perform time series forecasting and smart analyticsBook Description The explosive growth of digital data has boosted the demand for expertise in trading strategies that use machine learning (ML). This book enables you to use a broad range of supervised and unsupervised algorithms to extract signals from a wide variety of data sources and create powerful investment strategies. This book shows how to access market, fundamental, and alternative data via API or web scraping and offers a framework to evaluate alternative data. You'll practice the ML workflow from model design, loss metric definition, and parameter tuning to performance evaluation in a time series context. You will understand ML algorithms such as Bayesian and ensemble methods and manifold learning, and will know how to train and tune these models using pandas, statsmodels, sklearn, PyMC3, xgboost, lightgbm, and catboost. This book also teaches you how to extract features from text data using spaCy, classify news and assign sentiment scores, and to use gensim to model topics and learn word embeddings from financial reports. You will also build and evaluate neural networks, including RNNs and CNNs, using Keras and PyTorch to exploit unstructured data for sophisticated strategies. Finally, you will apply transfer learning to satellite images to predict economic activity and use reinforcement learning to build agents that learn to trade in the OpenAI Gym. What you will learnImplement machine learning techniques to solve investment and trading problemsLeverage market, fundamental, and alternative data to research alpha factorsDesign and fine-tune supervised, unsupervised, and reinforcement learning modelsOptimize portfolio risk and performance using pandas, NumPy, and scikit-learnIntegrate machine learning models into a live trading strategy on QuantopianEvaluate strategies using reliable backtesting methodologies for time seriesDesign and evaluate deep neural networks using Keras, PyTorch, and TensorFlowWork with reinforcement learning for trading strategies in the OpenAI GymWho this book is for Hands-On Machine Learning for Algorithmic Trading is for data analysts, data scientists, and Python developers, as well as investment analysts and portfolio managers working within the finance and investment industry. If you want to perform efficient algorithmic trading by developing smart investigating strategies using machine learning algorithms, this is the book for you. Some understanding of Python and machine learning techniques is mandatory.

Financial Data Resampling for Machine Learning Based Trading

Financial Data Resampling for Machine Learning Based Trading
Author: Tomé Almeida Borges,Rui Neves
Publsiher: Springer Nature
Total Pages: 93
Release: 2021-02-22
Genre: Mathematics
ISBN: 9783030683795

Download Financial Data Resampling for Machine Learning Based Trading Book in PDF, Epub and Kindle

This book presents a system that combines the expertise of four algorithms, namely Gradient Tree Boosting, Logistic Regression, Random Forest and Support Vector Classifier to trade with several cryptocurrencies. A new method for resampling financial data is presented as alternative to the classical time sampled data commonly used in financial market trading. The new resampling method uses a closing value threshold to resample the data creating a signal better suited for financial trading, thus achieving higher returns without increased risk. The performance of the algorithm with the new resampling method and the classical time sampled data are compared and the advantages of using the system developed in this work are highlighted.

Trading Pairs

Trading Pairs
Author: Mark Whistler
Publsiher: John Wiley & Sons
Total Pages: 316
Release: 2004-07-29
Genre: Business & Economics
ISBN: 0471584282

Download Trading Pairs Book in PDF, Epub and Kindle

An accessible guide to the pairs trading technique A leading arbitrage expert gives traders real tools for using pairs trading, including customizable Excel worksheets available on the companion website. Mark Whistler (Denver, CO) is the key developer of pairstrader.com as well as a licensed securities trader and broker and leading arbitrage expert.