Skip to Content
Hands-On Financial Trading with Python
book

Hands-On Financial Trading with Python

by Jiri Pik, Sourav Ghosh
April 2021
Intermediate to advanced
360 pages
6h 24m
English
Packt Publishing
Content preview from Hands-On Financial Trading with Python

Chapter 6: Statistical Estimation, Inference, and Prediction

In this chapter, we introduce four key statistical libraries in Python—statsmodels, pmdarima, fbprophet, and scikitlearn—by outlining key examples. These libraries are used to model time series and provide their forecast values, along with confidence intervals. In addition, we demonstrate how to use a classification model to predict percentage changes of a time series.

For this, we are going to cover the following use cases:

  • Introduction to statsmodels
  • Using a Seasonal Auto-Regressive Integrated Moving Average with eXogenous factors (SARIMAX) time-series model with pmdarima
  • Time series forecasting with Facebook's Prophet library
  • Introduction to scikit-learn regression and classification ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Algorithmic Trading with Python

Hands-On Algorithmic Trading with Python

Deepak K. Kanungo

Publisher Resources

ISBN: 9781838982881Supplemental Content