Skip to main content
  • Book
  • © 2018

Personal Finance with Python

Using pandas, Requests, and Recurrent

Apress

Authors:

  • Contains a compact primer on personal finance planning and management using Python
  • Organized around financial concepts including profit, budgeting, investing, amortization, and more
  • Inspired by the author's conference presentations on the same topic

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (7 chapters)

  1. Front Matter

    Pages i-xvi
  2. Setup

    • Max Humber
    Pages 1-8
  3. Profit

    • Max Humber
    Pages 9-24
  4. Convert

    • Max Humber
    Pages 25-38
  5. Amortize

    • Max Humber
    Pages 39-52
  6. Budget

    • Max Humber
    Pages 53-80
  7. Invest

    • Max Humber
    Pages 81-102
  8. Spend

    • Max Humber
    Pages 103-109
  9. Back Matter

    Pages 111-117

About this book

Deal with data, build up financial formulas in code from scratch, and evaluate and think about money in your day-to-day life. This book is about Python and personal finance and how you can effectively mix the two together. 


In Personal Finance with Python you will learn Python and finance at the same time by creating a profit calculator, a currency converter, an amortization schedule, a budget, a portfolio rebalancer, and a purchase forecaster. Many of the examples use pandas, the main data manipulation tool in Python. Each chapter is hands-on, self-contained, and motivated by fun and interesting examples.


Although this book assumes a minimal familiarity with programming and the Python language, if you don't have any, don't worry. Everything is built up piece-by-piece and the first chapters are conducted at a relaxed pace. You'll need Python 3.6 (or above) and all of the setup details are included.


What You'll Learn
  • Work with data in pandas
  • Calculate Net Present Value and Internal Rate Return
  • Query a third-party API with Requests
  • Manage secrets
  • Build efficient loops
  • Parse English sentences with Recurrent
  • Work with the YAML file format
  • Fetch stock quotes and use Prophet to forecast the future

Who This Book Is For


Anyone interested in Python, personal finance, and/or both! This book is geared towards those who want to manage their money more effectively and to those who just want to learn or improve their Python.




Reviews

“The book is not only a love letter to pandas--each financial aspect treated in the book becomes a love letter for Requests, Matplotlib, Recurrent, NumPy, YAML, and the like.” (Pierre Radulescu-Banu, Computing Reviews, September 27, 2019)

Authors and Affiliations

  • Toronto, Ontario, Canada

    Max Humber

About the author

Max Humber is a Data Engineer interested in improving finance with technology. He works for Wealthsimple, and previously served as the first data scientist for the online lending platform Borrowell. He has spoken at Pycon, ODSC, PyData, useR, and BigDataX in Colombia, London, Berlin, Brussels, and Toronto.

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access