• $25

Coding Common Financial Functions in Python

  • Course
  • 16 Lessons

In this short course we show you how to code some of the most common functions you will use repeatedly throughout our materials. We also show you how to save them into a .py file that you can then import to all your future projects. This course will put you on the path of creating your own monster investment analysis app!

You can watch the first lecture for free! (See the video above).

What You Will Learn

  • Master Essential Financial Functions: Learn to code key financial functions such as calculating returns, volatility, and Sharpe ratios—functions you’ll use throughout your projects.

  • Automate and Reuse Your Code: Discover how to save your functions into a .py file for easy reuse in future projects, boosting your productivity.

  • Analyze Investment Growth and Risk: Create growth indexes, track trailing returns, and calculate maximum drawdowns to gain a complete picture of portfolio performance.

Contents

READ THIS BEFORE YOU START

Common Financial Functions in Python

Slides
Python Notebook
01 - Theory
02 - Imports and Retreiving Daily Prices
03 - Calculating Period Returns and a Growth Index
04 - Trailing Returns, Part 1
05 - Trailing Returns, Part 2
06 - Calendar Returns, Annualized Returns and Volatility
07 - Maximum Drawdown and Total Investment Growth
08 - Correlations and Sharpe Ratios
09 - Creating a .py File
Congratulations! Some Final Words.
Python Assignment
Python Assignment Solutions
requirements.txt

  • $25

Coding Common Financial Functions in Python

  • Course
  • 16 Lessons

In this short course we show you how to code some of the most common functions you will use repeatedly throughout our materials. We also show you how to save them into a .py file that you can then import to all your future projects. This course will put you on the path of creating your own monster investment analysis app!