This is my first public project which is an AI-powered (Claude API) stock analysis dashboard that provides real-time stock data, technical analysis, and AI-generated insights.
- Real-time stock data visualization
- Technical analysis charts (price, returns, volume)
- AI-powered stock analysis
- Interactive chat for stock-related questions
-
Clone the repository:
git clone https://github.com/APFFM/ai-stock-analysis.git cd ai-stock-analysis
-
Install the required packages:
pip install -r requirements.txt
-
Set up environment variables: Create a
.env
file in the root directory and add your Anthropic API key:echo "ANT=your_anthropic_api_key" > .env
-
Run the application:
python app2.py
-
Open a web browser and navigate to
http://localhost:8050
- Enter a stock ticker (e.g., AAPL for Apple Inc.) in the input field.
- Select a time period from the dropdown menu.
- Click "Fetch Data" to retrieve and display the stock analysis.
- Use the chat feature to ask specific questions about the stock.
Here are some screenshots of the AI-powered stock analysis dashboard:
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.