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.
- Option payoff, premium and greeks calculation for vanilla options on Equity, FX, Commodity and Futures.
- Capability to calculate greeks numerically for all models and also analytically for Black Scholes Model.
- 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.
- 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.
- Implied volatility calculation under BSM framework model.
- Option to create user defined or standard strategies using multiple single underlying options and directly generate and plot valuation and greeks for these strategies.
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
Refer to our Documentation page
For collaboration and suggestion reach us at Quantsbin
Refer to our Tutorial page
For Quantsbin 1.0.3 documentation are still WIP.