Skip to main content
This advanced example demonstrates how to build a sophisticated investment analysis system that combines market research, financial analysis, and portfolio management. The workflow uses a three-stage approach:
  1. Comprehensive stock analysis and market research
  2. Investment potential evaluation and ranking
  3. Strategic portfolio allocation recommendations
Key capabilities:
  • Real-time market data analysis
  • Professional financial research
  • Investment risk assessment
  • Portfolio allocation strategy
  • Detailed investment rationale
Example companies to analyze:
  • “AAPL, MSFT, GOOGL” (Tech Giants)
  • “NVDA, AMD, INTC” (Semiconductor Leaders)
  • “TSLA, F, GM” (Automotive Innovation)
  • “JPM, BAC, GS” (Banking Sector)
  • “AMZN, WMT, TGT” (Retail Competition)
  • “PFE, JNJ, MRNA” (Healthcare Focus)
  • “XOM, CVX, BP” (Energy Sector)
Run pip install openai ddgs agno to install dependencies.
investment_report_generator.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install libraries

3

Run the workflow