get_monte_carlo
Estimate probabilistic stock price ranges and odds of crossing resistance or support by running a 5,000-path GBM simulation over 10 trading days.
Instructions
Run a Monte Carlo price-path simulation for a stock over the next 10 trading days.
Use this tool when:
You need a probabilistic price range rather than a single point estimate.
You want the odds of finishing above recent resistance or below support.
You are sizing a position using a volatility-adjusted scenario.
The simulation uses a GBM (Geometric Brownian Motion) model calibrated with the stock's historical daily log-return drift and volatility (not implied volatility). 5,000 paths are run.
Returns
dict with keys:
ticker : str — normalized ticker
horizon_days : int — simulation horizon in trading days (10)
ci : float — confidence level of lower/upper_bound (0.90)
lower_bound : float — lower edge of the central ci price range
upper_bound : float — upper edge of the central ci price range
mean_price : float — mean simulated price at horizon
median_price : float — median simulated price at horizon
support : float — 20-day rolling low
resistance : float — 20-day rolling high (also returned as threshold)
prob_above : float — probability (0–1) the horizon price exceeds resistance
prob_below : float — 1 - prob_above
volatility : float — daily log-return standard deviation
std_tomorrow : float — one-day price standard deviation (spot × volatility)
final_prices : list — every simulated horizon price
msg : str — one-line plain-English summary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Exchange ticker in uppercase, e.g. 'NVDA', 'AAPL', 'SPY', 'QQQ'. Do NOT pass company names ('Nvidia') — use official tickers only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||