Skip to main content

CLI for Geometric Brownian Motion and Black Scholes Math for Monte Carlo Simulation

Project description

Monte Carlo

Monte Carlo Simulator

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

mc_option_simulator_yale-0.0.7.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mc_option_simulator_yale-0.0.7-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file mc_option_simulator_yale-0.0.7.tar.gz.

File metadata

File hashes

Hashes for mc_option_simulator_yale-0.0.7.tar.gz
Algorithm Hash digest
SHA256 a94dc1e95f47d912e27903fd1ba076ef4ba85758ac3e46de205d1eb9335daf4f
MD5 a84355898fd85446644f511b35863893
BLAKE2b-256 1647000637d92aecbe6f5646b35403ec7f7b2a7af269c2f088a9f3ce9b3f34ed

See more details on using hashes here.

File details

Details for the file mc_option_simulator_yale-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for mc_option_simulator_yale-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5e65fdab9f2fe3bdcbc20d700e6b493e7a57f376152fc87fbb5191a37d91753f
MD5 a5a99cbb2859219493f9feb99878e64b
BLAKE2b-256 bf29714b57e4eeed8e221e601c38c5bb7b49ffaf71196b3842edaac16143265a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page