Skip to content

ErikThiart/ai-stock-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ AI-Powered Stock Market Dashboard

Python Streamlit License GitHub Stars

Professional-grade stock analysis with machine learning predictions and real-time technical indicators

A comprehensive, AI-powered stock market dashboard that combines advanced technical analysis, machine learning price predictions, and intelligent market insights in a beautiful, interactive interface.

Main Dashboard

โœจ Features

๐Ÿค– Artificial Intelligence

  • Machine Learning Price Prediction - Random Forest model with 30+ technical features
  • AI Market Analysis - Natural language insights based on technical indicators
  • Feature Importance Analysis - Understand what drives price movements
  • Model Performance Metrics - Train/test accuracy with confidence levels

๐Ÿ“ˆ Advanced Technical Analysis

  • Professional Charts - Multi-panel candlestick charts with technical overlays
  • 20+ Technical Indicators - RSI, MACD, Bollinger Bands, Moving Averages, Stochastic
  • Volume Analysis - Volume trends and confirmation signals
  • Performance Metrics - Sharpe ratio, volatility, maximum drawdown

๐ŸŽฏ Real-Time Data

  • Live Stock Data - Real-time prices from Yahoo Finance
  • Multiple Timeframes - 1M to 5Y analysis periods
  • Popular Stock Presets - Quick access to FAANG+ stocks
  • Custom Symbol Input - Analyze any publicly traded stock

๐ŸŽจ Professional Interface

  • Dark Theme - Easy on the eyes for extended analysis
  • Responsive Design - Works perfectly on desktop and mobile
  • Interactive Charts - Zoom, pan, and explore data
  • Organized Tabs - Clean separation of different analysis types

Technical Analysis

๐Ÿš€ Quick Start

Prerequisites

Python 3.8 or higher

Installation

  1. Clone the repository
git clone https://github.com/erikthiart/ai-stock-dashboard.git
cd ai-stock-dashboard
  1. Install dependencies
pip install -r requirements.txt
  1. Run the application
streamlit run stock_dashboard.py
  1. Open your browser
Navigate to http://localhost:8501

ML Predictions

๐Ÿ“ฆ Dependencies

streamlit>=1.28.0
yfinance>=0.2.18
pandas>=1.5.0
numpy>=1.24.0
plotly>=5.15.0
scikit-learn>=1.3.0

๐ŸŽฎ How to Use

1. Select Your Stock

  • Choose from popular presets (Apple, Tesla, Google, etc.)
  • Or enter any stock symbol manually
  • Select your preferred analysis timeframe

2. Explore the Analysis

  • Main Dashboard: Key metrics and price changes
  • Technical Charts: Advanced multi-panel analysis
  • Performance: Risk metrics and cumulative returns
  • AI Predictions: Machine learning price forecasts
  • Market Analysis: AI-generated insights

3. Understand the Insights

  • ๐ŸŸข Green indicators: Bullish signals
  • ๐Ÿ”ด Red indicators: Bearish signals
  • ๐ŸŸก Yellow indicators: Neutral/mixed signals
  • โš ๏ธ Warning indicators: Overbought/oversold conditions

Performance Metrics

๐Ÿง  Machine Learning Model

Our AI uses a Random Forest Regressor trained on 30+ features including:

  • Price-based features: Returns, volatility, price changes
  • Technical indicators: RSI, MACD, moving averages
  • Volume features: Volume ratios and trends
  • Lag features: Historical price and volume data
  • Statistical features: Rolling means and standard deviations

Model Performance:

  • Real-time training on historical data
  • Cross-validation with train/test splits
  • Feature importance analysis
  • Confidence metrics displayed

AI Analysis

๐Ÿ“Š Technical Indicators

Indicator Purpose Interpretation
RSI Momentum >70 Overbought, <30 Oversold
MACD Trend Signal line crossovers
Bollinger Bands Volatility Price vs. bands position
Moving Averages Trend Price vs. MA relationships
Stochastic Momentum %K and %D oscillator
Volume Confirmation Volume vs. average ratios

๐ŸŽฏ Use Cases

๐Ÿ“ˆ For Traders

  • Quick technical analysis of any stock
  • AI-powered price predictions for next trading day
  • Volume confirmation signals
  • Multiple timeframe analysis

๐Ÿ’ผ For Investors

  • Long-term performance metrics
  • Risk assessment (volatility, drawdown)
  • Company fundamental information
  • Market trend analysis

๐ŸŽ“ For Learning

  • Understanding technical indicators
  • Machine learning in finance
  • Market behavior patterns
  • Professional chart analysis

Company Info

โš ๏ธ Disclaimer

This tool is for educational and informational purposes only.

  • Not financial advice or investment recommendations
  • Past performance doesn't guarantee future results
  • Always do your own research before investing
  • Consider consulting with financial professionals
  • Markets involve risk and potential loss of capital

๐Ÿ› ๏ธ Technical Architecture

โ”œโ”€โ”€ stock_dashboard.py      # Main application
โ”œโ”€โ”€ requirements.txt        # Dependencies
โ”œโ”€โ”€ README.md              # Documentation
โ””โ”€โ”€ screenshots/           # UI screenshots
    โ”œโ”€โ”€ main_dashboard.jpg
    โ”œโ”€โ”€ technical_analysis.jpg
    โ”œโ”€โ”€ ml_predictions.jpg
    โ”œโ”€โ”€ performance_metrics.jpg
    โ”œโ”€โ”€ ai_analysis.jpg
    โ””โ”€โ”€ company_info.jpg

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐ŸŒŸ Acknowledgments

  • Yahoo Finance for providing free stock data
  • Streamlit for the amazing web framework
  • Plotly for interactive visualizations
  • scikit-learn for machine learning capabilities

๐Ÿ“ž Support

If you find this project helpful, please give it a โญ on GitHub!

For questions or issues:


Built with โค๏ธ and Python

GitHub LinkedIn

About

๐Ÿš€ Professional AI-powered stock market dashboard with real-time technical analysis, machine learning price predictions, and intelligent market insights. Built with Python, Streamlit, and scikit-learn.

Topics

Resources

License

Stars

Watchers

Forks

Languages