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.9.tar.gz
(22.5 kB
view details)
Built Distribution
pyg_bond-0.0.9-py3-none-any.whl
(24.5 kB
view details)
File details
Details for the file pyg-bond-0.0.9.tar.gz
.
File metadata
- Download URL: pyg-bond-0.0.9.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 470cb387e861244d5615b15399861fcbd457697531bfd480ff9154ed6a822cce |
|
MD5 | d4ec8e560fd2e3d13e4cde3cc7414dcc |
|
BLAKE2b-256 | c4b8129960d557290a9d8407923467a63c0f634a21525b2fa4fd9862fc495008 |
File details
Details for the file pyg_bond-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: pyg_bond-0.0.9-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 282b9ea91a1e30187fecbbdefb57bcb33b23dcfc6974ca338514414e5ba1c7d3 |
|
MD5 | 50f2874f3d02f517488959cc42d38314 |
|
BLAKE2b-256 | 7f8052796f8014614cb4f17ac549457ce694027c373fd70b06da6e2322d90fd5 |