Welcome to Financial Modeling’s documentation!

Financial Modeling in Python made simple.

The financial_modeling Python package is a collection of essential financial modeling functions. I wrote this package for my master’s degree to make my life and my classmates a little easier and help others use it for educational and academic use cases. It’s not meant to be used for production environments yet. I intentionally didn’t use numpy as the backend for calculations to make the code easy enough for everyone to understand and develop if needed.

Installation

You can easily install this package by typing the following command in your terminal:

$ pip install -U financial_modeling

How to use it?

Here’s a simple example of how you can calcualate Artihmetic Rate of Return using financial_modeling:

>>> import financial_modeling as fm
>>> fm.ar(100, 140)
0.4

For more information and see the full API, please refer to the package documentation or head over to the next section.

Indices and tables