This module has been created to provide functions that are useful in pricing and risk management of fixed-income securities. The goal is to break-down complex quantitative financial calculations into easy-to-understand functions as much as possible.
- To begin with, there are two functions:
duration: calculates the Macaulay and Modified Durations. bondprice: provides an estimated price for a security for a given basis point change.
More functions will be added periodically.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quantfns-1.0.0.tar.gz
(1.4 kB
view details)
File details
Details for the file quantfns-1.0.0.tar.gz.
File metadata
- Download URL: quantfns-1.0.0.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cf848da78ea5f2ea6972cad96770c6ea372cb0614610cce71cc18c3a42d652f
|
|
| MD5 |
c7917815552bccb354720a0c0b7bebfb
|
|
| BLAKE2b-256 |
2ed11b87cfb73d670bde5850b321657cf29f9308645628532055634cd65662ed
|