GPT-Investor | remix of https://github.com/mshumer release of the gpt-investor repo.
GPT-Investor is an experimental investment analysis agent that utilizes the gpt-4-turbo to provide comprehensive insights and recommendations for stocks in a given industry. It retrieves financial data, news articles, and analyst ratings for companies, performs sentiment analysis, and generates comparative analyses to rank the companies based on their investment potential.
Workflow Generates a list of ticker symbols for major companies in a specified industry Retrieves historical price data, balance sheets, financial statements, and news articles for each company Performs sentiment analysis on news articles to gauge market sentiment Retrieves analyst ratings and price targets for each company Conducts industry and sector analysis to understand market trends and competitive landscape Generates comparative analyses between the selected company and its peers Provides a final investment recommendation for each company based on the comprehensive analysis, including price targets Ranks the companies within the industry based on their investment attractiveness Requirements To run GPT-Investor, you need an OpenAI API key for accessing the OpenAI AI model.
Usage
Replace the placeholder for OPENAI_API_KEY in the notebook with your OpenAI API key.
Run the notebook cells sequentially to execute the code.
When prompted, enter the industry you want to analyze.
Wait for the AI system to produce a report.
Disclaimer GPT-Investor is an educational and informational tool designed to assist in investment analysis. It should not be considered as financial advice or a substitute for professional investment guidance. Always conduct thorough research and consult with a qualified financial advisor before making any investment decisions.
License This project is licensed under the MIT License.
Contributing Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
Some known improvement areas: Improvements:
- Enable cross industry parallel Asset Management.
- Utilize OpenAI Assistants for further data science analysis via code-interpreter and function calling.
- Real time data
- Enable GPT to manage a real portfolio.