Utilities for converting australian bill/bond futures to price. Also simple price to yield and yield to price.
Project description
pyg-bond
The package contains simple bond price manipulation needed for Futures trading:
- conversion of australian bank bills quotes to prices (IR Comdty in Bloomberg)
- conversion of australian bond futures quotes to prices (XMA/YMA Comdty in Bloomberg)
- Simple derivation of price & duration from yield for bonds
- Newton Raphson yield & duration calculation from a given price using gradient descent
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyg-bond-0.0.12.tar.gz
(22.8 kB
view hashes)
Built Distribution
pyg_bond-0.0.12-py3-none-any.whl
(24.8 kB
view hashes)
Close
Hashes for pyg_bond-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3da2a9ba790af7a5940c5d785efb1f92f257fc55ae3bf0daeb23d233498af3ab |
|
MD5 | 899e74ae2d28cbb92f8fe83445448eef |
|
BLAKE2b-256 | d10c221172bba910fbf54f4f708aa734e454bbc639e1da5344e95098d9095528 |