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.1.tar.gz
(16.2 kB
view details)
Built Distribution
pyg_bond-0.0.1-py3-none-any.whl
(16.4 kB
view details)
File details
Details for the file pyg-bond-0.0.1.tar.gz
.
File metadata
- Download URL: pyg-bond-0.0.1.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5916a49a8ef4d288fe317f32fb07bab076eebc155860244751c55549c3d53ab |
|
MD5 | 06d131c1dd7cbfa5b781eced94775747 |
|
BLAKE2b-256 | 610223b3f63161d3291b7e0fcbdd315aaa5730ad5ce8784287ebf9474ae20bb0 |
File details
Details for the file pyg_bond-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyg_bond-0.0.1-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6419f801702451cabc7dba4a811e97e5f9b4a1ef5107f44441d737cf84274f63 |
|
MD5 | 719f9f7c73314479595709adeb11d8b6 |
|
BLAKE2b-256 | a0e791c4b0851e626d4fef395ce880d6aaf89e65fa9a0445d7b8d5ac94a36f52 |