Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hellebore-otcstreaming

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hellebore-otcstreaming

API Wrapper for OTCStreaming.

  • 0.1.1
  • PyPI
  • Socket score

Maintainers
1

Hellebore OtcStreaming

API Wrapper for the OTCStreaming'API.

Features :

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}}

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc