An interactive stock analysis dashboard built with Streamlit. Enter any ticker, explore historical prices with technical indicators, run Monte Carlo simulations, and get a Prophet-based forecast β all in the browser. Demo
- Price History β Line chart and candlestick chart with a range slider and volume overlay
- Key Metrics β Latest close, day change, 52-week high/low, average volume, period return
- Technical Indicators β Configurable moving averages (10/20/50/100/200-day), Bollinger Bands, RSI with overbought/oversold signals
- Monte Carlo Simulation β Geometric Brownian Motion with configurable horizon (1β5 years) and number of simulations (50β500). Shows percentile bands, return distribution histogram, VaR/CVaR, and an investment return estimator
- Prophet Forecast β Facebook Prophet time-series forecast with confidence intervals, trend decomposition, and a horizon summary table (1W / 1M / 6M / 1Y)
- Custom ticker input β Analyze any stock beyond the preset list
- Custom date range β Filter historical data by any start/end date
Prerequisites: Python 3.10+
# 1. Clone the repo
git clone https://github.com/shahriar3174/Stock_Trend_Analyzer.git
cd Stock_Trend_Analyzer
# 2. Install dependencies
pip install -r requirements.txt
# 3. Run the app
streamlit run app.pyThe app will open at http://localhost:8501.
- Fork or push this repo to your GitHub
- Go to share.streamlit.io and sign in
- Click "New app" β select your repo β set Main file path to
app.py - Click Deploy β it's free for public repos
βββ app.py # Main Streamlit application
βββ requirements.txt # Python dependencies
βββ README.md # This file
| Library | Purpose |
|---|---|
| Streamlit | Web UI framework |
| yfinance | Yahoo Finance data |
| Plotly | Interactive charts |
| Prophet | Time-series forecasting |
| pandas / numpy | Data processing |
This tool is for educational and informational purposes only. Nothing here constitutes financial advice. Stock market investments carry risk and past performance does not guarantee future results.