Jump to ratings and reviews
Rate this book

Tidy Finance with Python

Rate this book
This textbook shows how to bring theoretical concepts from finance and econometrics to the data. Focusing on coding and data analysis with Python, we show how to conduct research in empirical finance from scratch. We start by introducing the concepts of tidy data and coding principles using pandas, numpy, and plotnine. Code is provided to prepare common open-source and proprietary financial data sources (CRSP, Compustat, Mergent FISD, TRACE) and organize them in a database. We reuse these data in all the subsequent chapters, which we keep as self-contained as possible. The empirical applications range from key concepts of empirical asset pricing (beta estimation, portfolio sorts, performance analysis, Fama-French factors) to modeling and machine learning applications (fixed effects estimation, clustering standard errors, difference-in-difference estimators, ridge regression, Lasso, Elastic net, random forests, neural networks) and portfolio optimization techniques.

Key

Self-contained chapters on the most important applications and methodologies in finance, which can easily be used for the reader’s research or as a reference for courses on empirical finance.Each chapter is reproducible in the sense that the reader can replicate every single figure, table, or number by simply copying and pasting the code we provide.A full-fledged introduction to machine learning with scikit-learn based on tidy principles to show how factor selection and option pricing can benefit from Machine Learning methods.We show how to retrieve and prepare the most important datasets financial CRSP and Compustat, including detailed explanations of the most relevant data characteristics.Each chapter provides exercises based on established lectures and classes which are designed to help students to dig deeper. The exercises can be used for self-studying or as a source of inspiration for teaching exercises.

262 pages, Paperback

Published June 22, 2024

7 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
1 (100%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Jake Losh.
211 reviews24 followers
October 23, 2024
This book was pretty good. Lots of applications with full example code and the empirical results are always tied back to relevant theory. Each chapter had worthwhile exercises. If you took an undergraduate finance course covering some of the math of mean-variance optimization, you should be well-enough equipped to understand most of this and you'll get a sense of how the world has moved beyond MVO.

One downside of the book is a reliance on CRSP and some proprietary datasets. This is par for the course in the world of finance, sadly. The authors do give some work around procedures in an appendix.

Another issue I ran into was dealing with the Python package versions listed in the appendix. I had to spend a little time trouble shooting this, starting out. This is par for the course in the world of Python, sadly.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.