This Flask application combines real-time market data with news and uses OpenAI's powerful AI to analyze trends and provide investment insights.
- Fetch real-time market data for any stock symbol
- Get the latest financial news on any topic
- AI-powered analysis that combines market data and news
- Interactive charts and visualizations
- User-friendly interface
-
Clone the repository:
git clone https://github.com/GustyCube/Stock-Predictor.git cd market-analysis-app -
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the required packages:
pip install -r requirements.txt
-
Create a
.envfile in the project root with the following API keys:OPENAI_API_KEY= ALPHA_VANTAGE_API_KEY= NEWS_API_KEY= FLASK_SECRET_KEY=You can obtain these API keys from:
-
Run the application:
python run.py
-
Open your browser and navigate to:
http://localhost:5000
This project is licensed under the MIT License.
Contributions are welcome! Please open an issue or submit a pull request with your improvements.
Feel free to suggest edits or report issues for any further improvements.