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.15.tar.gz
(26.3 kB
view hashes)
Built Distribution
pyg_bond-0.0.15-py3-none-any.whl
(27.2 kB
view hashes)
Close
Hashes for pyg_bond-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 805fd0114152853faa7295eebf706304a5c3127e097385d328687e9168fa4714 |
|
MD5 | e2a5c108a35af79e5a47cd0ff1d04c2b |
|
BLAKE2b-256 | 778f68a0d3d2b0f1156a99340d5cf7c25b3e1b2d62b75279fdbdbb15e3c18848 |