search
Subscription
0
cart
close
You have no products in your basket yet
left
Tech Categories
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Best Sellers
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Best Sellers
New Releases
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
New Releases
Books
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Popular Books
Videos
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Popular Videos
Audiobooks
Tech Categories
Data Web Development Programming Cloud and Networking Security Game Development Mobile IoT and Hardware Business and Other
Popular Audiobooks
Articles
Newsletters
right
Machine Learning for Algorithmic Trading - Second Edition

Machine Learning for Algorithmic Trading: Predictive models to extract signals from market and alternative data for systematic trading strategies with Python, Second Edition

By Stefan Jansen
$46.99 $31.99
Book Jul 2020 822 pages 2nd Edition
eBook
$46.99 $31.99
Print
$57.99
Subscription
$15.99 Monthly
eBook
$46.99 $31.99
Print
$57.99
Subscription
$15.99 Monthly

What do you get with eBook?

Feature icon Instant access to your Digital eBook purchase
Feature icon Download this book in EPUB and PDF formats
Feature icon Access this title in our online reader with advanced features
Feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Jul 31, 2020
Length 822 pages
Edition : 2nd Edition
Language : English
ISBN-13 : 9781839217715
Category :
toc View table of contents toc Preview Book toc Download Code

Key benefits

  • Design, train, and evaluate machine learning algorithms that underpin automated trading strategies
  • Create a research and strategy development process to apply predictive modeling to trading decisions
  • Leverage NLP and deep learning to extract tradeable signals from market and alternative data

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 learn

Leverage market, fundamental, and alternative text and image data Research and evaluate alpha factors using statistics, Alphalens, and SHAP values Implement machine learning techniques to solve investment and trading problems Backtest and evaluate trading strategies based on machine learning using Zipline and Backtrader Optimize portfolio risk and performance analysis using pandas, NumPy, and pyfolio Create a pairs trading strategy based on cointegration for US equities and ETFs Train a gradient boosting model to predict intraday returns using AlgoSeek s high-quality trades and quotes data

What do you get with eBook?

Feature icon Instant access to your Digital eBook purchase
Feature icon Download this book in EPUB and PDF formats
Feature icon Access this title in our online reader with advanced features
Feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Jul 31, 2020
Length 822 pages
Edition : 2nd Edition
Language : English
ISBN-13 : 9781839217715
Category :

Table of Contents

27 Chapters
Preface Packt Packt
Preface
What to expect
What's new in the second edition
Who should read this book
What this book covers
To get the most out of this book
Get in touch
Machine Learning for Trading – From Idea to Execution Packt Packt
Machine Learning for Trading – From Idea to Execution
The rise of ML in the investment industry
Designing and executing an ML-driven strategy
ML for trading – strategies and use cases
Summary
Market and Fundamental Data – Sources and Techniques Packt Packt
Market and Fundamental Data – Sources and Techniques
Market data reflects its environment
Working with high-frequency data
API access to market data
How to work with fundamental data
Efficient data storage with pandas
Summary
Alternative Data for Finance – Categories and Use Cases Packt Packt
Alternative Data for Finance – Categories and Use Cases
The alternative data revolution
Sources of alternative data
Criteria for evaluating alternative data
The market for alternative data
Working with alternative data
Summary
Financial Feature Engineering – How to Research Alpha Factors Packt Packt
Financial Feature Engineering – How to Research Alpha Factors
Alpha factors in practice – from data to signals
Building on decades of factor research
Engineering alpha factors that predict returns
From signals to trades – Zipline for backtests
Separating signal from noise with Alphalens
Alpha factor resources
Summary
Portfolio Optimization and Performance Evaluation Packt Packt
Portfolio Optimization and Performance Evaluation
How to measure portfolio performance
How to manage portfolio risk and return
Trading and managing portfolios with Zipline
Measuring backtest performance with pyfolio
Summary
The Machine Learning Process Packt Packt
The Machine Learning Process
How machine learning from data works
The machine learning workflow
Summary
Linear Models – From Risk Factors to Return Forecasts Packt Packt
Linear Models – From Risk Factors to Return Forecasts
From inference to prediction
The baseline model – multiple linear regression
How to run linear regression in practice
How to build a linear factor model
Regularizing linear regression using shrinkage
How to predict returns with linear regression
Linear classification
Summary
The ML4T Workflow – From Model to Strategy Backtesting Packt Packt
The ML4T Workflow – From Model to Strategy Backtesting
How to backtest an ML-driven strategy
Backtesting pitfalls and how to avoid them
How a backtesting engine works
backtrader – a flexible tool for local backtests
Zipline – scalable backtesting by Quantopian
Summary
Time-Series Models for Volatility Forecasts and Statistical Arbitrage Packt Packt
Time-Series Models for Volatility Forecasts and Statistical Arbitrage
Tools for diagnostics and feature extraction
How to diagnose and achieve stationarity
Univariate time-series models
Multivariate time-series models
Cointegration – time series with a shared trend
Statistical arbitrage with cointegration
Summary
Bayesian ML – Dynamic Sharpe Ratios and Pairs Trading Packt Packt
Bayesian ML – Dynamic Sharpe Ratios and Pairs Trading
How Bayesian machine learning works
Probabilistic programming with PyMC3
Bayesian ML for trading
Summary
Random Forests – A Long-Short Strategy for Japanese Stocks Packt Packt
Random Forests – A Long-Short Strategy for Japanese Stocks
Decision trees – learning rules from data
Random forests – making trees more reliable
Long-short signals for Japanese stocks
Summary
Boosting Your Trading Strategy Packt Packt
Boosting Your Trading Strategy
Getting started – adaptive boosting
Gradient boosting – ensembles for most tasks
Using XGBoost, LightGBM, and CatBoost
A long-short trading strategy with boosting
Boosting for an intraday strategy
Summary
Data-Driven Risk Factors and Asset Allocation with Unsupervised Learning Packt Packt
Data-Driven Risk Factors and Asset Allocation with Unsupervised Learning
Dimensionality reduction
PCA for trading
Clustering
Hierarchical clustering for optimal portfolios
Summary
Text Data for Trading – Sentiment Analysis Packt Packt
Text Data for Trading – Sentiment Analysis
ML with text data – from language to features
From text to tokens – the NLP pipeline
Counting tokens – the document-term matrix
NLP for trading
Summary
Topic Modeling – Summarizing Financial News Packt Packt
Topic Modeling – Summarizing Financial News
Learning latent topics – Goals and approaches
Probabilistic latent semantic analysis
Latent Dirichlet allocation
Modeling topics discussed in earnings calls
Topic modeling for with financial news
Summary
Word Embeddings for Earnings Calls and SEC Filings Packt Packt
Word Embeddings for Earnings Calls and SEC Filings
How word embeddings encode semantics
How to use pretrained word vectors
Custom embeddings for financial news
word2vec for trading with SEC filings
Sentiment analysis using doc2vec embeddings
New frontiers – pretrained transformer models
Summary
Deep Learning for Trading Packt Packt
Deep Learning for Trading
Deep learning – what's new and why it matters
Designing an NN
A neural network from scratch in Python
Popular deep learning libraries
Optimizing an NN for a long-short strategy
Summary
CNNs for Financial Time Series and Satellite Images Packt Packt
CNNs for Financial Time Series and Satellite Images
How CNNs learn to model grid-like data
CNNs for satellite images and object detection
CNNs for time-series data – predicting returns
Summary
RNNs for Multivariate Time Series and Sentiment Analysis Packt Packt
RNNs for Multivariate Time Series and Sentiment Analysis
How recurrent neural nets work
RNNs for time series with TensorFlow 2
RNNs for text data
Summary
Autoencoders for Conditional Risk Factors and Asset Pricing Packt Packt
Autoencoders for Conditional Risk Factors and Asset Pricing
Autoencoders for nonlinear feature extraction
Implementing autoencoders with TensorFlow 2
A conditional autoencoder for trading
Summary
Generative Adversarial Networks for Synthetic Time-Series Data Packt Packt
Generative Adversarial Networks for Synthetic Time-Series Data
Creating synthetic data with GANs
How to build a GAN using TensorFlow 2
TimeGAN for synthetic financial data
Summary
Deep Reinforcement Learning – Building a Trading Agent Packt Packt
Deep Reinforcement Learning – Building a Trading Agent
Elements of a reinforcement learning system
How to solve reinforcement learning problems
Solving dynamic programming problems
Q-learning – finding an optimal policy on the go
Deep RL for trading with the OpenAI Gym
Summary
Conclusions and Next Steps Packt Packt
Conclusions and Next Steps
Key takeaways and lessons learned
ML for trading in practice
Conclusion
References Packt Packt
References
Index Packt Packt
Index
Appendix: Alpha Factor Library Packt Packt
Appendix: Alpha Factor Library
Common alpha factors implemented in TA-Lib
WorldQuant's quest for formulaic alphas
Bivariate and multivariate factor evaluation
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQS

How do I buy and download an eBook? Packt Packt

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Packt Packt

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Packt Packt
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Packt Packt

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Packt Packt
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Packt Packt

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.