# Stock Dashboard 📈🚀
## Overview 🌐
This Stock Dashboard is a vibrant web application built with Streamlit, empowering users to visualize and analyze historical stock data, track price movements, and access fundamental financial data. The icing on the cake is an interactive chat with OpenAI's GPT, providing answers to your burning questions about stocks and the market.
## Setup ⚙️
1. **Install required Python libraries:**
```bash
pip install pandas yfinance plotly streamlit numpy alpha_vantage openai
-
Set up your environment:
- Replace
YOUR_ALPHA_VANTAGE_API_KEY
with your actual Alpha Vantage API key in the code. - Ensure the OpenAI GPT API key (
openai.api_key
) is secure.
- Replace
-
Run the application:
streamlit run your_file_name.py
Replace
your_file_name.py
with the name of the Python file containing the provided code.
-
Enter stock details in the sidebar:
- Input a valid stock ticker, start date, and end date.
-
Validate and explore:
- Verify input validation warnings and correct if needed.
- Explore historical price movements with the interactive plot.
-
Analyze price movements:
- View statistics like annual return, standard deviation, and risk-adjusted return.
-
Retrieve fundamental financial data:
- Access balance sheet, income statement, and cash flow statement.
-
Engage in a chat with GPT:
- Ask questions about stocks or the market and receive insightful responses.
- Keep your Alpha Vantage API key and OpenAI GPT API key secure.
- Ensure a stable internet connection for data retrieval from APIs.
Feel free to customize and enhance this project to match your unique requirements! 🎨✨
Feel free to adjust the emojis and formatting as per your preference!