Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock Market Analysis Agent 🤖📈

agno-stock

Python OpenAI yfinance Agno

📝 Description

An intelligent financial analysis agent powered by OpenAI's GPT-4 that provides comprehensive stock market analysis, company insights, and financial recommendations. This project leverages the Agno framework and yfinance to deliver real-time financial data and analysis.

✨ Features

  • Real-time stock price analysis
  • Company fundamental analysis
  • Analyst recommendations
  • Historical price data analysis
  • Company news monitoring
  • Report generation and export
  • Interactive playground interface

🛠️ Installation

  1. Clone the repository:
git clone https://github.com/pakagronglb/python-stock-advisory-agent
cd python-stock-advisory-agent
  1. Install required dependencies:
pip install -r requirements.txt
  1. Set up environment variables: Create a .env file in the root directory and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here

🚀 Usage

  1. Start the playground:
python finance_agent.py
  1. Access the web interface at:
http://localhost:7777

Or Agno's playground URL

  1. Start analyzing stocks by entering queries like:
  • "Analyze Tesla stock performance"
  • "Compare Apple and Microsoft fundamentals"
  • "Generate a report on Nike's financial health"

📦 Dependencies

  • agno
  • openai
  • yfinance
  • python-dotenv
  • pandas

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

🎥 Tutorial & Credit

This project was inspired by and built following the tutorial by Jie Jenn. Please check out his YouTube channel for more amazing content on Python and automation.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

💡 Acknowledgments

  • Thanks to Jie Jenn for the excellent tutorial
  • Agno Framework for the AI agent infrastructure
  • yfinance for financial data access
  • OpenAI for GPT-4 capabilities

Made with ❤️ by Pakagrong Lebel

About

An intelligent financial analysis agent powered by OpenAI's GPT-4 that provides comprehensive stock market analysis, company insights, and financial recommendations. This project leverages the Agno framework and yfinance to deliver real-time financial data and analysis.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages