Fixed Income Model

Overview

The fixed income model is a set of libraries and scripts, using QuantLib as the underlying financial modeling engine, that can be used to run the basic fixed income calculations required by a typical bank.

The davinci fixed income models are designed to complement quantlib and can be used in conjuction with or separately from quantlib itself.

Setup

The first step to setting up the fixed income desktop is to Create a Python Environment

Next, quantlib needs to be installed into the environment. The following command, entered into the environment terminal will install quantlib.

pip install quantlib

Fixed Income Models

Sample Data

The fixed income desktop comes with sample data, in the sample.py script.

import sample.py as sp #generate a random portfolio of bonds protfolio = sp.portfolio()