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.18.tar.gz
(26.6 kB
view hashes)
Built Distribution
pyg_bond-0.0.18-py3-none-any.whl
(27.5 kB
view hashes)
Close
Hashes for pyg_bond-0.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d16b1367fba7bb552c6ec40188b1270ee846f6f5ec4795e06bff2b202e6c9e |
|
MD5 | 31425ce1455e336ff00430a516df054e |
|
BLAKE2b-256 | 7739ad528c4d2822f9f47ab42aaa88b2b3601060060b4e3ad65238bcbe4d37f6 |