A comprehensive library focused on the financial applications for Monte Carlo methods.
- Implement confidence intervals for the Monte Carlo class.
- Standardize plotting protocol.
- Fix the implementation of geometric average pricing.
- Implement geometric average pricing as a control variate.
usage: main.py [-h] [-S ASSET_PRICE] [-K STRIKE_PRICE] [-T MATURITY] [-r RATE] [-v VOLATILITY] [-n SIMULATIONS] [-t TIME_STEPS] [--plot]
{call,put} {eu,us}
Monte Carlo Option Pricing Tool
positional arguments:
{call,put} Type of option (call or put)
{eu,us} Region of option (eu or us)
options:
-h, --help show this help message and exit
-S ASSET_PRICE, --asset_price ASSET_PRICE
Initial stock price
-K STRIKE_PRICE, --strike_price STRIKE_PRICE
Strike price
-T MATURITY, --maturity MATURITY
Time to maturity (in years)
-r RATE, --rate RATE Risk-free interest rate
-v VOLATILITY, --volatility VOLATILITY
Volatility
-n SIMULATIONS, --simulations SIMULATIONS
Number of simulations
-t TIME_STEPS, --time_steps TIME_STEPS
Number of time steps
--plot Plot option prices
- Clone the repository:
git clone https://github.com/DKLEINLEUNK/DES-simple-queues
- Change directory to the cloned repository.
- Install the required dependencies:
pip install -r requirements.txt
QuantMC/
├── LICENSE
├── main.py
├── MonteCarlo.py
├── Options.py
├── plotter.py
├── README.md
└── utils.py