Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aojdevstudio avatar

Montecarlo

  • 43 installs
  • 316 repo stars
  • Updated August 1, 2026
  • aojdevstudio/finance-guru

MonteCarlo is a skill that runs Monte Carlo simulations for a Finance Guru portfolio strategy, projecting income probabilities, margin safety, and outcomes over 28 months.

About

A skill that runs Monte Carlo simulations for a Finance Guru dividend-income and margin-living portfolio strategy. It runs 10,000 market scenarios over 28 months across a 4-layer portfolio to project income probabilities, margin-call rates, drawdowns, and break-even timing. A developer uses it to stress-test a portfolio, estimate probability of income targets, and incorporate buy tickets into projections.

  • Runs 10,000-scenario Monte Carlo simulations over a 4-layer portfolio
  • Projects income probabilities, margin-call rates, and drawdowns over 28 months
  • Auto-detects portfolio values and can incorporate buy tickets

Montecarlo by the numbers

  • 43 all-time installs (skills.sh)
  • Ranked #622 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
At a glance

montecarlo capabilities & compatibility

Capabilities
data analysis
Works with
excel
Use cases
data analysis · trading · research
Pricing
Free
From the docs

What montecarlo says it does

Monte Carlo simulation engine for Finance Guru's 4-layer dividend income + margin living strategy. Runs 10,000 market scenarios to project income probabilities, margin safety, and portfolio outcomes o
SKILL.md
Margin call rate** - % of scenarios triggering margin call (<3:1 ratio)
SKILL.md
npx skills add https://github.com/aojdevstudio/finance-guru --skill montecarlo

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs43
repo stars316
Last updatedAugust 1, 2026
Repositoryaojdevstudio/finance-guru

What it does

Run 10,000-scenario Monte Carlo simulations to project income probability, margin safety, and drawdowns for a portfolio.

Who is it for?

Stress-testing a dividend-income and margin portfolio and estimating probability of income targets.

Skip if: Single-point deterministic projections or non-portfolio simulations.

When should I use this skill?

When you want to run a Monte Carlo simulation, stress test a portfolio, or analyze margin-call probability.

What you get

Probability distributions for income targets, margin-call rate, drawdown, and break-even timing across 10,000 scenarios.

  • JSON summary statistics
  • full-results CSV
  • Excel analysis workbook

By the numbers

  • 10,000 scenarios
  • 28-month horizon
  • 4-layer portfolio model

Files

SKILL.mdMarkdownGitHub ↗

MonteCarlo

Monte Carlo simulation engine for Finance Guru's 4-layer dividend income + margin living strategy. Runs 10,000 market scenarios to project income probabilities, margin safety, and portfolio outcomes over 28 months.

Workflow Routing

WorkflowTriggerFile
RunSimulation"run monte carlo", "simulate portfolio", "stress test"workflows/RunSimulation.md
IncorporateBuyTicket"include buy ticket", "add ticket to simulation"workflows/IncorporateBuyTicket.md

Examples

Example 1: Run standard Monte Carlo simulation

User: "Run the monte carlo simulation with current portfolio"
-> Invokes RunSimulation workflow
-> Auto-detects portfolio values from notebooks/updates/Portfolio_Positions_*.csv
-> Runs 10,000 scenarios with v3.0 4-layer model
-> Outputs JSON summary + full CSV + Excel to fin-guru-private/fin-guru/analysis/

Example 2: Incorporate a buy ticket into simulation

User: "Run monte carlo with my new buy ticket from 12-31"
-> Invokes IncorporateBuyTicket workflow
-> Reads buy ticket from fin-guru-private/fin-guru/tickets/buy-ticket-2025-12-31-*.md
-> Parses YAML frontmatter + Execution Summary table from the canonical ticket format
-> Adjusts starting portfolio values based on ticket allocations
-> Runs simulation with updated positions

Example 3: Stress test margin safety

User: "What's my margin call probability?"
-> Invokes RunSimulation workflow
-> Focuses on margin_call_rate and margin_ratio metrics
-> Reports 5th percentile (worst case) margin ratio

Key Metrics Produced

Success Metrics

  • P($100k income) - Probability of reaching $100k annual dividend income
  • P($75k income) - Probability of reaching $75k annual dividend income
  • P($50k income) - Probability of reaching $50k annual dividend income
  • Margin call rate - % of scenarios triggering margin call (<3:1 ratio)
  • Backstop usage rate - % of scenarios requiring business income injection

Portfolio Metrics

  • Total portfolio value - Median, P5, P95 at month 28
  • Layer 1 (Growth) - PLTR, TSLA, VOO, etc. (no new deployment)
  • Layer 2 (Income) - Dividend funds ($11,517/month deployment)
  • Layer 3 (Hedge) - SQQQ ($800/month deployment)
  • GOOGL position - Scale-in ($1,000/month deployment)

Risk Metrics

  • Margin ratio - Portfolio / Margin debt (must stay >3:1)
  • Max drawdown - Worst peak-to-trough decline
  • Break-even timing - When dividends cover margin draws

Output Files

All outputs saved to fin-guru-private/fin-guru/analysis/:

  • monte-carlo-v3-{date}.json - Summary statistics
  • monte-carlo-v3-full-results-{date}.csv - All 10,000 scenarios
  • monte-carlo-v3-analysis-{date}.xlsx - Excel workbook with charts

Configuration

Simulation parameters are set in fin-guru-private/strategies/dividend_margin_monte_carlo.py:

  • Starting portfolio values (auto-detected or manual)
  • Monthly deployment amounts
  • Bucket allocations and yields
  • Margin schedule
  • Market regime probabilities

Model Version

v3.0 (Jan 2026) - Full 4-layer portfolio:

  • Layer 1: Growth portfolio (market returns only, no new deployment)
  • Layer 2: Income portfolio (5-bucket dividend allocation)
  • Layer 3: Hedge (SQQQ for crisis protection)
  • GOOGL: Scale-in position (diverted from Layer 2)

Fixes applied:

  • Floor at $0 for all positions (stocks can't go negative)
  • Full portfolio margin ratio (all layers count toward Fidelity margin)
  • Correct starting values from Fidelity CSV

Related skills

FAQ

How many scenarios does it run?

10,000 market scenarios over 28 months using the v3.0 4-layer model.

What metrics does it produce?

Probability of income targets, margin-call rate, backstop usage rate, portfolio value percentiles, drawdown, and break-even timing.

Finance & Tradinganalyticspipelines

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.