Stock-market-dashboard

Real-Time Stock Market Dashboard Description: Build a dashboard that tracks and visualizes live stock market data. Technologies: Python (Pandas, Plotly, Requests API), Streamlit Outcome: Real-time graphs and financial indicators for selected stocks.

Real Time Stock Price Dashboard

This was originally made for my grandmother who loves investing :)

This project is a real-time full-stack stock price dashboard built using Python, Streamlit, Plotly, and various financial data analysis tools. The dashboard allows users to visualize stock prices, apply technical indicators such as SMA 20, EMA20, and RSI14, and monitor real-time prices of selected stocks.

Enjoy a stock price dashboard that you can run right in your terminal!

https://github.com/user-attachments/assets/73e8ccaa-fba7-4288-9af2-376f0964c727

Directory Structure

Real_Time_Stock_Price_Dashboard/
├── stock_dashboard.py
├── requirements.txt
├── README.md
├── LICENSE
└── Example.png

Features

Installation

Prerequisites

Ensure that you have Python 3.8 or higher installed on your machine. You’ll also need to install the following Python libraries:

Steps to Install

  1. Install the Required Packages

    Install the required Python packages using pip:

    pip3 install -r requirements.txt
    

    If you don’t have a requirements.txt file, you can manually install the dependencies:

    pip3 install streamlit yfinance pandas plotly pytz ta
    
  2. Run the Application

    Once all the dependencies are installed, you can start the Streamlit app:

    python3 -m streamlit run stock_dashboard.py
    

    This command will launch the dashboard in your web browser!

    Example:

Usage

Interface Overview

Real-Time Stock Prices

The sidebar displays the real-time prices for a predefined list of stock symbols (e.g., AAPL, GOOGL, AMZN, MSFT). These prices update automatically and show the percentage change from the opening price.

Customization

You can easily modify the list of stock symbols monitored in real-time by editing the stock_symbols list in the app.py file.

Example Usage

  1. Monitoring Apple Stock in Real-Time:

    • Enter AAPL in the ticker input

    • Select 1d for the time period

    • Choose the Candlestick chart type

    • Select SMA 20, EMA 20, & RSI 14 for technical indicators

    • Click Update to visualize the data

  2. Viewing Historical Data:

    • Select a longer time period (e.g., 1y)

    • Use the Line chart type for a smooth trend visualization.

    • Analyze the historical data displayed below the chart.

Known Issues

Contributing

Contributions are welcome! If you have ideas for new features, elements, or enhancements, feel free to fork the repository and submit a pull request. Please ensure your code follows general best practices and is well-documented.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For questions or support, please contact me at twisha.com