How hassanelq/simulations-montecarlo works
This is a browser-computed financial simulation platform: users choose a simulation, enter model parameters, run local JavaScript calculations, and inspect metrics and charts. Its main domain branches cover probability distributions, investment growth, option valuation, and Brownian-motion processes; a combined Monte Carlo page also offers risk analysis. Results are rendered through chart components, with no persistent store or external computation service shown. Some probability and risk implementations were not excerpted, so their subsystem nodes are represented by exact existing directories and uncertain links are omitted.
Main entry points: monteCarlo/page.jsx Monte Carlo Hub · investment/page.jsx Investment Planner · probability/page.jsx Distribution Explorer · options/page.jsx Options Pricer
Components 18
Web Experience
- Home Page
app/page.js - Simulation Menu
app/start/page.jsx - App Shell
app/layout.js
Probability Models
- Distribution Explorer
app/start/probability/page.jsx - Distribution Samplers
utils/probability - Sample Statistics
utils/probability/helper_functions.js - Distribution Chart
app/Components/Charts/ProbabilityBarChart.jsx
Monte Carlo Finance
- Investment Planner
app/start/investment/page.jsx - Investment Simulation
utils/monteCarlo/investment.js - Options Pricer
app/start/options/page.jsx - Options Simulation
utils/monteCarlo/options.js - Monte Carlo Hub
app/start/monteCarlo/page.jsx - Risk Simulation
utils/monteCarlo/risk.js - Path Chart
app/Components/Charts/MCLineChart.jsx - Outcome Chart
app/Components/Charts/MCBarChart.jsx
Stochastic Processes
- Brownian Explorer
app/start/brownianMotion/page.jsx - Brownian Models
utils/brownianMotion
Other components
- Learner
Connections 23
- Learner → Home Page: opens
app/page.js - Home Page → Simulation Menu: links to
- App Shell → Home Page: renders page
app/layout.js - App Shell → Simulation Menu: renders page
app/layout.js - Learner → Distribution Explorer: selects model
- Distribution Explorer → Distribution Samplers: loads sampler
app/start/probability/page.jsx - Distribution Explorer → Distribution Chart: renders results
app/start/probability/page.jsx - Distribution Samplers → Sample Statistics: uses statistics
utils/probability/beta.js - Learner → Investment Planner: sets parameters
- Investment Planner → Investment Simulation: runs simulation
app/start/investment/page.jsx - Investment Planner → Path Chart: renders paths
app/start/investment/page.jsx - Investment Planner → Outcome Chart: renders outcomes
app/start/investment/page.jsx - Learner → Options Pricer: sets parameters
- Options Pricer → Options Simulation: prices options
app/start/options/page.jsx - Options Pricer → Path Chart: renders paths
app/start/options/page.jsx - Learner → Monte Carlo Hub: chooses analysis
- Monte Carlo Hub → Investment Simulation: runs investment
app/start/monteCarlo/page.jsx - Monte Carlo Hub → Options Simulation: runs options
app/start/monteCarlo/page.jsx - Monte Carlo Hub → Risk Simulation: runs risk
app/start/monteCarlo/page.jsx - Monte Carlo Hub → Path Chart: renders paths
app/start/monteCarlo/page.jsx - Monte Carlo Hub → Outcome Chart: renders outcomes
app/start/monteCarlo/page.jsx - Learner → Brownian Explorer: chooses process
- Brownian Explorer → Brownian Models: runs selected model
app/start/brownianMotion/page.jsx