Skip to main content

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


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.19.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyg_bond-0.0.19-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file pyg_bond-0.0.19.tar.gz.

File metadata

  • Download URL: pyg_bond-0.0.19.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyg_bond-0.0.19.tar.gz
Algorithm Hash digest
SHA256 9cc20d2abac6a5d63cc804b3add4a79e7ec38dada35d004b13dd841c1b3ab19c
MD5 6303d8d87093faee6e87aa58b714d5e0
BLAKE2b-256 50b67724cdc2fbed3981ea340227c2e3301e6e3b998b9ee9e15d6e22a4be6524

See more details on using hashes here.

File details

Details for the file pyg_bond-0.0.19-py3-none-any.whl.

File metadata

  • Download URL: pyg_bond-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyg_bond-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 35818856442227feaf14736d0cdb435a158e819422e6fa19ea6e9ecd5138c3c8
MD5 b1c4cad82eac30804c5f8e3cebc57038
BLAKE2b-256 de587bee4e0ba7db700fcea8c550c74555bfc5ed6e32f7ff0105a679b2ef1e2a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page