A package written in Python with equations to calculate option Prices and Greeks.
Project description
OptionGreekPricing
Table of Contents
Overview
Current Version: 1.0.3
A package written in Python with equations to calculate option Prices and Greeks using the following methods:
-
Put-Call Parity. The
PutCall
object contains the following equations:- Option price for a non-dividend stock.
- Option price for a discrete-dividend stock.
- Option price for a continuous-dividend stock.
- Option price for a currency option
-
Binomial Trees. The
BinomialTress
object contains the following equations:- Option price for a one period non-dividend stock.
- Option price for a multi-period non-dividend stock european option.
- Option price for a multi-period non-dividend stock american option.
- Option price for a multi-period currency exchange rate european option.
- Option price for a multi-period currency exchange rate american option.
- Option price for a multi-period futures contract american option.
-
Black-Scholes. The
BlackScholes
object contains the following equations:- Option price for a common stock.
- Option price for a common stock with discrete dividends.
- Option price for a currency exchange rate.
- Option price for a futures contract.
-
Greeks. The
Greeks
object contains the following equations for both call and put options:- Delta.
- Gamma.
- Vega.
- Theta.
- Rho.
- Psi.
-
Monte Carlo. The
MonteCarlo
object contains the following equation:- Option price for a risk-neutral european option.
Setup
Setup - PyPi Install:
The project can be found at PyPI, if you'd like to view the project please use this link. To install the library, run the following command from the terminal.
pip install option-greek-pricing
Usage
For more detailed examples and explanations, please look at the following file: Option Pricing & Greeks.ipynb
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 Distributions
Built Distribution
Hashes for option_greek_pricing-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 024e8b56f2bdcfdc7e83c56ffdb1a6598b133de5f49932a32d0acf1176cdef1a |
|
MD5 | 061bfea2f620d77d952b4a114a7b9349 |
|
BLAKE2b-256 | 3bab18a92e5c0505ec24739a7e87b56da596c228f5e3fdb3ea7c5bb68c1ecaec |