CLI for Geometric Brownian Motion and Black Scholes Math for Monte Carlo Simulation
Project description
Monte Carlo
setup
pip install using:
pip install mc-option-simulator-yale
import the module using:
from montecarlo.MonteCarloSimulation import MonteCarloSimulation
classes: $\$
class MonteCarloSimulation:
Methods belong to MonteCarloSimulation
def __init__(self, stock_value, strike, volatility):
self.stock_value = stock_value
self.risk_free_interest = RISK_FREE_INTEREST
self.strike = strike
self.sigma = volatility
self.delta_time = DELTA_TIME
self.T = TIME
def Geometric_Brownian_Motion(self, option_type="call")
def Black_Scholes(self, option_type="call".lower())
Full class and method details omitted, refer to the code to see full implementation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mc_option_simulator_yale-0.0.7.tar.gz.
File metadata
- Download URL: mc_option_simulator_yale-0.0.7.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a94dc1e95f47d912e27903fd1ba076ef4ba85758ac3e46de205d1eb9335daf4f
|
|
| MD5 |
a84355898fd85446644f511b35863893
|
|
| BLAKE2b-256 |
1647000637d92aecbe6f5646b35403ec7f7b2a7af269c2f088a9f3ce9b3f34ed
|
File details
Details for the file mc_option_simulator_yale-0.0.7-py3-none-any.whl.
File metadata
- Download URL: mc_option_simulator_yale-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e65fdab9f2fe3bdcbc20d700e6b493e7a57f376152fc87fbb5191a37d91753f
|
|
| MD5 |
a5a99cbb2859219493f9feb99878e64b
|
|
| BLAKE2b-256 |
bf29714b57e4eeed8e221e601c38c5bb7b49ffaf71196b3842edaac16143265a
|