Skip to main content

Monte Carlo Pip 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
        self.steps = steps
        self.simulations = simulations
        self.payoffs = []
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.

Metadata

Release files for mc-option-simulator-yale 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mc-option-simulator-yale 0.0.8
File Size Uploaded Provenance Actions
mc_option_simulator_yale-0.0.8.tar.gz 3.6 kB Without provenance Details for mc_option_simulator_yale-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mc-option-simulator-yale 0.0.8
File Interpreter ABI Platform Actions
mc_option_simulator_yale-0.0.8-py3-none-any.whl Python 3 none any Details for mc_option_simulator_yale-0.0.8-py3-none-any.whl

Total release size: 7.9 kB

Release files / mc_option_simulator_yale-0.0.8.tar.gz

Download URL mc_option_simulator_yale-0.0.8.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8a17349706f299bcf11591eb14001fe942d9b42edc9f7af272647b19f2b0a2cd
BLAKE2b-256 checksum
How to use checksums
33f488a6afc0cf965f5116fd1dd19016b3dd30b65fd653449c49f02c94ba2ea4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / mc_option_simulator_yale-0.0.8-py3-none-any.whl

Download URL mc_option_simulator_yale-0.0.8-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e82b1bb826c1aa979fbdb47ec288fef26f01e1e770d00e9d584d6cd2ff72fd75
BLAKE2b-256 checksum
How to use checksums
1d07d0f3483f4fd2fb6e02a8bef379f532eca2ac0a3521eca144d7f3e1addc1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Security for mc-option-simulator-yale 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page