Skip to main content

PyPi version PyPi Status Github Stars Twitter follows

Quantsbin

Open source library for finance.

Quantsbin 1.0.3, which started as a weekend project is currently in its initial phase and incorporates tools for pricing and plotting of vanilla option prices, greeks and various other analysis around them. We are working on optimising calculations and expanding the scope of library in multiple directions for future releases.

Quantsbin 1.0.3 includes

  1. Option payoff, premium and greeks calculation for vanilla options on Equity, FX, Commodity and Futures.

  2. Capability to calculate greeks numerically for all models and also analytically for Black Scholes Model.

  3. Price vanilla options with European expiry using BSM, Binomial tree and MonteCarlo with option to incorporate continuous compounded dividend yield for Equity options, cost and convenience yield for Commodity options and local and foreign risk-free rate in case of FX options. It also allows option to give discrete dividends in cased of Equity options.

  4. Price vanilla options with American expiry using Binomial tree and MonteCarlo(Longstaff Schwartz) method. There is option to provide discrete dividends for Equity options for both the models.

  5. Implied volatility calculation under BSM framework model.

  6. Option to create user defined or standard strategies using multiple single underlying options and directly generate and plot valuation and greeks for these strategies.

License

MIT LICENCE

Dependencies and Installation details

scipy==1.6.3
pandas==1.2.4
matplotlib==3.4.2
numpy==1.18.0

Install using setup.py:

>>> python setup.py install

Install using pip:

>>> pip install quantsbin

Detailed documentation

Refer to our Documentation page

Our Website

For collaboration and suggestion reach us at Quantsbin

Tutorial

Refer to our Tutorial page

Note

For Quantsbin 1.0.3 documentation are still WIP.

Metadata

Release files for Quantsbin 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Quantsbin 1.0.3
File Size Uploaded
Quantsbin-1.0.3.tar.gz 14.0 kB Details

Release files / Quantsbin-1.0.3.tar.gz

Download URL Quantsbin-1.0.3.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4964208711c15a3de701b79f35065d0e35eefde4840b024ddc34d422c59b4d33
BLAKE2b-256 checksum
How to use checksums
5a1977fe1c260189a3dbd6c19a128fab20b5e68432942a8a40badd29ad4c2093
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page