semvec/pypi-packages huggingface dataset:
hellebore-otcstreaming 0.1.1
API Wrapper for OTCStreaming.
Requires Python: >=3.9,<4.0

# Hellebore OtcStreaming

API Wrapper for the [OTCStreaming](https://www.otcstreaming.com/)'API.

## Features :
- ISDA Calculator on the base of the [OTCStraming's calculator](https://www.otcstreaming.com/calculator)


## Installation

```sh
pip install ...
```

## Usage

### ISDA Calculator

In order to get ISDA prices for the index `ITXEB536` :
 
```python
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 :
```json
{"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}}
```
shortcut-alias 0.2.6
Powerful Configurable Aliases
Requires Python: >=3.6
Keywords: alias,shortcut,shortcut_alias

# shortcut-alias

This is a personal project for configurable aliases. 

As a personal project - there is no formal progression or documentation. I shall do my best to update this project, as I find issues with it, and add new features as I find needs. 

## Install

```sh
> pip install shortcut-alias
```

## Usage

Shortcut-alias installs the following commands onto your system:

```sh
> shortcut-alias <command> <command_options>
> shortcut <command> <command_options>
> sa <command> <command_options>

```

## First Run 

On the first run, `shortcut-alias` will generate the needed file structure on first run, or on a new config directory. 

By default the folder structure will be the following:

On Windows:

| Name            | Filepath                                     |
| --------------- | -------------------------------------------- |
| root folder     | `C:\Users\<username>\shortcut`               |
| settings        | `C:\Users\<username>\shortcut\settings.yaml` |
| commands folder | `C:\Users\<username>\shortcut\shortcut.d`    |

On Linux:

| Name            | Filepath                   |
| --------------- | -------------------------- |
| root folder     | `~\shortcut`               |
| settings        | `~\shortcut\settings.yaml` |
| commands folder | `~\shortcut\shortcut.d`    |

To change this, set the environment variable "SHORTCUT_CONFIG".

Windows:

```powershell
> $Env:SHORTCUT_CONFIG=<filepath>
```

Linux:

```sh
export SHORTCUT_COFNIG=<filepath>
```

## settings.yaml

Please view `docs/configuration.md` for this. 
## shortcut.d files

Please view `docs/shortcut_files.md` for this.

## Variables

Please view `docs/variables.md` for this.

## Templating

Please view `docs/templating.md` for this.