Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon.com Sold by: Amazon.com
Used - Very Good
-
To see product details, add this item to your cart.
Ships from: GreatBookDealz Sold by: GreatBookDealz
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Python for Finance Cookbook: Over 80 powerful recipes for effective financial data analysis, 2nd Edition
Purchase options and add-ons
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
- ISBN-101803243198
- ISBN-13978-1803243191
- Edition2nd ed.
- PublisherPackt Publishing
- Publication dateDecember 30, 2022
- LanguageEnglish
- Dimensions7.5 x 1.67 x 9.25 inches
- Print length740 pages
Discover the latest buzz-worthy books, from mysteries and romance to humor and nonfiction. Explore more
Frequently bought together

Customers who viewed this item also viewed
- Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to ProgrammingPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Sep 20
- Machine Learning for Algorithmic Trading: Predictive models to extract signals from market and alternative data for systematic trading strategies with PythonPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Python for Algorithmic Trading Cookbook: Recipes for designing, building, and deploying algorithmic trading strategies with PythonPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Python for Algorithmic Trading Cookbook: Recipes for designing, building, and deploying algorithmic trading strategies with PythonPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Advances in Financial Machine LearningHardcoverFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Sep 20
Customers also bought or read
- Python for Algorithmic Trading Cookbook: Recipes for designing, building, and deploying algorithmic trading strategies with Python
Paperback$44.99$44.99FREE delivery Mon, Sep 21 - Machine Learning for Algorithmic Trading: Predictive models to extract signals from market and alternative data for systematic trading strategies with Python
Paperback$47.60$47.60FREE delivery Mon, Sep 21 - Python Machine Learning By Example: Unlock machine learning best practices with real-world use cases
Paperback$29.55$29.55Delivery Mon, Sep 21 - Modern Time Series Forecasting with Python: Industry-ready machine learning and deep learning time series analysis with PyTorch and pandas
Paperback$42.74$42.74FREE delivery Mon, Sep 21 - Pandas Cookbook: Practical recipes for scientific computing, time series, and exploratory data analysis using Python
Paperback$39.99$39.99FREE delivery Mon, Sep 21 - Mathematics of Machine Learning: Master linear algebra, calculus, and probability for machine learning
Paperback$44.30$44.30FREE delivery Mon, Sep 21 - Investing for Programmers: Understanding markets through data and code
Paperback$52.40$52.40FREE delivery Mon, Sep 21 - Python for Algorithmic Trading: From Idea to Cloud Deployment
Paperback$40.12$40.12FREE delivery Sun, Sep 20 - Python for Data Analysis: Data Wrangling with pandas, NumPy, and Jupyter
Paperback$43.99$43.99FREE delivery Oct 1 - 16 - Machine Learning with PyTorch and Scikit-Learn: Develop machine learning and deep learning models with Python#1 Best SellerSpeech & Audio Processing
Paperback$36.05$36.05FREE delivery Sun, Sep 20 - Python for Excel: A Modern Environment for Automation and Data Analysis
Paperback$55.36$55.36FREE delivery Sun, Sep 20 - Hands-On Financial Trading with Python: A practical guide to using Zipline and other Python libraries for backtesting trading strategies
Paperback$48.99$48.99FREE delivery Mon, Sep 21 - Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code
Paperback$36.33$36.33FREE delivery Mon, Sep 21 - Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerPython Programming
Paperback$27.53$27.53Delivery Sun, Sep 20 - Generative AI with Python and PyTorch: Navigating the AI frontier with LLMs, Stable Diffusion, and next-gen AI applications
Paperback$32.99$32.99Delivery Mon, Sep 21 - Deep Reinforcement Learning Hands-On: A practical and easy-to-follow guide to RL from Q-learning and DQNs to PPO and RLHF
Paperback$32.75$32.75Delivery Mon, Sep 21 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Sun, Sep 20 - Time Series Analysis with Python Cookbook: Practical recipes for exploratory data analysis, data preparation, forecasting, and model evaluation
Paperback$38.14$38.14FREE delivery Sun, Sep 20 - Generative AI with LangChain: Build production-ready LLM applications and advanced agents using Python, LangChain, and LangGraph
Paperback$41.99$41.99FREE delivery Mon, Sep 21 - Modern Python Cookbook: 130+ updated recipes for modern Python 3.12 with new techniques and tools
Paperback$42.79$42.79FREE delivery Mon, Sep 21 - Artificial Intelligence in Finance: A Python-Based Guide
Paperback$49.49$49.49FREE delivery Sun, Sep 20 - Graph Machine Learning: Learn about the latest advancements in graph data to build robust machine learning models
Paperback$38.54$38.54FREE delivery Mon, Sep 21 - The Definitive Guide to Power Query (M): Mastering complex data transformation with Power Query
Paperback$32.71$32.71Delivery Sun, Sep 20 - Ultimate Python for Fintech Solutions: Build Modern Financial Applications and Fintech Solutions Using Finance Packages and Blockchain with Python (English Edition)
Paperback$35.48$35.48FREE delivery Mon, Sep 21 - Python Data Science Handbook: Essential Tools for Working with Data
Paperback$44.18$44.18FREE delivery Sun, Sep 20
From the Publisher
An Interview with Mark Lewinson
First, why should aspiring, or existing, data analysts choose Python?
Python is a powerful and flexible language that is well-suited for data analysis. Its ease of use, large community, and powerful libraries make it a great choice and it is definitely a valuable skill for data analysts to have.
What’s new in this edition?
There are over 30 new recipes in the book, spread throughout the chapters. For example, there is an entirely new chapter on time series forecasting, and a lot of advanced content has been added to the chapters on real-life ML projects. In the deep learning chapter, we have shifted the focus from building neural networks from scratch in PyTorch to using libraries that offer state-of-the-art architectures out of the box. Lastly, we have put more emphasis on obtaining and preparing reliable data for analysis.
What makes this book necessary? What gap does it fill?
While there are many books available on financial data analysis, it can be difficult to find ones that demonstrate how to solve specific tasks or problems using Python. In this book, I have attempted to showcase the vast landscape of Python libraries that can be utilized in analyses. By using those libraries, you do not have to code everything from scratch. Instead, you can quickly solve a certain task and focus on interpreting the results and making decisions based on the outcome of your analysis.
What will readers be able to do after reading this book?
After reading the book, readers will know how to approach various data analysis or data science tasks set in the financial context. For data science, readers will become equipped to handle tasks such as time series forecasting and building machine/deep learning models. On the quantitative finance side, they will learn modeling volatility, asset allocation, factor modeling, and algorithmic trading.
Finally, do you have any advice for readers picking up your book?
Sure, my advice would be to not only read the book but also spend time playing around with the code and experimenting with it. I’m a strong believer in learning by doing and I think Jupyter Notebooks offer an excellent playground to further explore the topics covered in the book.
Unleash the power of Python for financial data analysis
| More Content | Nearly 300 pages of new and expanded content |
| Master ML | Build machine learning/deep learning projects from scratch to make informed financial decisions |
| Visualizations | Visualize your data in new ways with interactive dashboards |
| Financial Econometrics | Estimate popular econometrics models such as CAPM, GARCH, and more using a problem-solution approach |
| Modern Libraries | Use modern Python libraries, such as pandas, NumPy, and scikit-learn to analyze your financial data |
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.
Product details
- Publisher : Packt Publishing
- Publication date : December 30, 2022
- Edition : 2nd ed.
- Language : English
- Print length : 740 pages
- ISBN-10 : 1803243198
- ISBN-13 : 978-1803243191
- Item Weight : 2.75 pounds
- Dimensions : 7.5 x 1.67 x 9.25 inches
- Best Sellers Rank: #667,288 in Books (See Top 100 in Books)
- #148 in Data Modeling & Design (Books)
- #397 in Python Programming
- #435 in Business Finance
- Customer Reviews:
About the author

Eryk Lewinson received his master's degree in quantitative finance from Erasmus University Rotterdam (EUR). In his professional career, he gained experience in the practical application of data science methods while working for two "Big 4" companies, a Dutch FinTech scale-up and the Netherlands' largest e-commerce company. In his work, he focuses on using machine learning to provide business value to companies. In his spare time, he enjoys writing about topics related to data science, playing video games, and traveling with his girlfriend.

















![Options Trading [All-in-1]: 34 Techniques, Tactics, & Strategies to Profit in the Financial Markets. The Ultimate In-Depth Guide for Beginners. Analyze, Execute, & Reduce Risks to Grow Your Net Worth](https://m.media-amazon.com/images/I/51kLgPS9xnL._AC_SR100,100_QL65_.jpg)
