
Python for Finance Cookbook: Over 80 powerful recipes for effective financial data analysis 2nd Edition
Author(s): Eryk Lewinson (Author)
- Publisher: Packt Publishing
- Publication Date: 30 Dec. 2022
- Edition: 2nd
- Language: English
- Print length: 740 pages
- ISBN-10: 1803243198
- ISBN-13: 9781803243191
Book Description
Use modern Python libraries such as pandas, NumPy, and scikit-learn and popular machine learning and deep learning methods to solve financial modeling problems
Purchase of the print or Kindle book includes a free eBook in the PDF format
Key Features
- Explore unique recipes for financial data processing and analysis with Python
- Apply classical and machine learning approaches to financial time series analysis
- Calculate various technical analysis indicators and backtest trading strategies
Book Description
Python is one of the most popular programming languages in the financial industry, with a huge collection of accompanying libraries. In this new edition of the Python for Finance Cookbook, you will explore classical quantitative finance approaches to data modeling, such as GARCH, CAPM, factor models, as well as modern machine learning and deep learning solutions.
You will use popular Python libraries that, in a few lines of code, provide the means to quickly process, analyze, and draw conclusions from financial data. In this new edition, more emphasis was put on exploratory data analysis to help you visualize and better understand financial data. While doing so, you will also learn how to use Streamlit to create elegant, interactive web applications to present the results of technical analyses.
Using the recipes in this book, you will become proficient in financial data analysis, be it for personal or professional projects. You will also understand which potential issues to expect with such analyses and, more importantly, how to overcome them.
What you will learn
- Preprocess, analyze, and visualize financial data
- Explore time series modeling with statistical (exponential smoothing, ARIMA) and machine learning models
- Uncover advanced time series forecasting algorithms such as Meta’s Prophet
- Use Monte Carlo simulations for derivatives valuation and risk assessment
- Explore volatility modeling using univariate and multivariate GARCH models
- Investigate various approaches to asset allocation
- Learn how to approach ML-projects using an example of default prediction
- Explore modern deep learning models such as Google’s TabNet, Amazon’s DeepAR and NeuralProphet
Who this book is for
This book is intended for financial analysts, data analysts and scientists, and Python developers with a familiarity with financial concepts. You’ll learn how to correctly use advanced approaches for analysis, avoid potential pitfalls and common mistakes, and reach correct conclusions for a broad range of finance problems.
Working knowledge of the Python programming language (particularly libraries such as pandas and NumPy) is necessary.
Table of Contents
- Acquiring Financial Data
- Data Preprocessing
- Visualizing Financial Time Series
- Exploring Financial Time Series Data
- Technical Analysis and Building Interactive Dashboards
- Time Series Analysis and Forecasting
- Machine Learning-Based Approaches to Time Series Forecasting
- Multi-Factor Models
- Modelling Volatility with GARCH Class Models
- Monte Carlo Simulations in Finance
- Asset Allocation
- Backtesting Trading Strategies
- Applied Machine Learning: Identifying Credit Default
- Advanced Concepts for Machine Learning Projects
- Deep Learning in Finance
Editorial Reviews
Review
“If there is only one book that you plan to buy for learning how to apply Python to financial problems, this is probably the book to buy. Highly recommended!”
Ram Seshadri, Senior Program Manager, Google
“My favorite chapters are the ones on acquiring financial data and data pre-processing. […]The aim of the book is simply to make readers aware that difficult problems can be solved with tools that exist in the Python universe. […]The book is worth considering when you want to use blueprints to start exploring how to build your own applications or – if you are lucky – you might find the exact application you need among the 80 examples. Be aware that if you wish to delve into the concepts and the underlying technical details you will certainly have to consult further resources. I can recommend this book for people who are starting to apply Python to financial problems, are learning how to work with data, or those who want to explore some of the available packages and libraries.”
Jörg Kienitz, Adj. Assoc. Professor of Financial Mathematics, University of Cape Town and Privatdozent Mathematik, University of Wuppertal
“Few books are as practical and hands-on as Eryk’s. He clearly put in a lot of time to ensure you can learn quickly without the hassle of collecting data or reusing a single set time and time again. The writing makes learning look so easy, you almost forget your skills are [being] boosted lightning fast. Once you get the hang of the “recipe” structure, it’s [just] a matter of finding the right chapter to match your current learning need or challenge.”
Erick Webbe, Head of Data Science @ bol.com
“Python for Finance Cookbook is a highly practical and accessible guide that provides everyone the knowledge and necessary tools needed to harness [the power of Python]. [The] recipes (use cases) are very well presented. I [particularly] liked […] chapter 12 – Backtesting Trading Strategies, along with chapters 13, 14, and 15. The author engages the readers with […] hands-on features.
This book provides a wealth of recipes that cover a wide range of topics.”
Vishwanath Gorti
Global Enterprise Engineer | Vice President @ Deutsche Bank
About the Author
Eryk Lewinson received his master’s degree in Quantitative Finance from Erasmus University Rotterdam. In his professional career, he has gained experience in the practical application of data science methods while working in risk management and data science departments of two “”big 4″” companies, a Dutch neo-broker and most recently the Netherlands’ largest online retailer.
Outside of work, he has written over a hundred articles about topics related to data science, which have been viewed more than 3 million times. In his free time, he enjoys playing video games, reading books, and traveling with his girlfriend.
Wow! eBook

![[] [Author: C. Kozierok] [Nov-2005]-Wow! eBook](https://m.media-amazon.com/images/I/41YNmvB-fML._SY342_.jpg)
