lifelib v0.4.1 (22 May 2022)

This release introduces a new library, assets.

To update lifelib, run the following command:

>>> pip install lifelib --upgrade

If you’re using Anaconda, use the conda command instead:

>>> conda update lifelib

New Library

The assets library is for modeling portfolios of financial instruments. Currently, the library includes one model, BasicBonds.

BasicBonds models a portfolio of fixed rate bonds, generates cashflows and calculates the market value of the portfolio. BasicBonds uses QuantLib, a third-party open-source library for financial instrument valuation.