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.17.tar.gz
(26.6 kB
view hashes)
Built Distribution
pyg_bond-0.0.17-py3-none-any.whl
(27.5 kB
view hashes)
Close
Hashes for pyg_bond-0.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8ae7567bffbea723b6d22a8b52f603f711c20eaca1403a71e34af48f57b2795 |
|
MD5 | d8dd640627c876aa70554ba44f002738 |
|
BLAKE2b-256 | 44c14000d1a7b9a18d2a88580f25ced5504dc317bb7e5e9f18f48e4cb9000ff2 |