API Wrapper for OTCStreaming.
Project description
Hellebore OtcStreaming
API Wrapper for the OTCStreaming'API.
Features :
- ISDA Calculator on the base of the OTCStraming's calculator
Installation
pip install ...
Usage
ISDA Calculator
In order to get ISDA prices for the index ITXEB536 :
from hellebore_otcstreaming import isda_calculator, ProductInfo
ticker = ProductInfo.from_mnemonic("ITXEB535", "2022-05-01")
prices = isda_calculator(ticker, "2022-05-01", price = 10)
prices is a dict holding values of several price types :
{"cashAmount": 38144.17450850366,
"isdaInterestCurve": "02-May-2022 EUR",
"prices": {"CS01": 4.23495037684285,
"DirtyUpfront": -3.8144174508503657,
"FullUpfront": 0.410861198242655,
"Price": 103.6977507841837,
"RiskyBp": 4.108611982426353,
"Spread": 10.0,
"Upfront": -3.697750784183699}}
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hellebore-otcstreaming-0.1.1.tar.gz.
File metadata
- Download URL: hellebore-otcstreaming-0.1.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.5 Linux/5.4.109+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f22db43e7529c602c97cb8f9980f78aaf5c00592d2333a45a01e7fb7d5c7ac9
|
|
| MD5 |
3210d5e05dc8f3c94c30f712148ba162
|
|
| BLAKE2b-256 |
0c8b0244e3ed55d94372a4c6798dfbed8b776433806e484c17979babd7a7e58a
|
File details
Details for the file hellebore_otcstreaming-0.1.1-py3-none-any.whl.
File metadata
- Download URL: hellebore_otcstreaming-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.5 Linux/5.4.109+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f3bf2703e00758581f3698ddcb02205146407efb6705deb00135097ba0a545d
|
|
| MD5 |
9bb80732b1ebbada65e237674bec1c18
|
|
| BLAKE2b-256 |
fd66f3869c00227f5cfc31824c14a978e6a740e02a790a451a601681c0caecdd
|