What This App Does
#Creates professional technical analysis reports for Yahoo Finance tickers:
- Pulls live price data from Yahoo Finance through a custom API layer
- Processes technical indicators using the Python Finta package
- Converts daily OHLCV data into weekly Mon-Fri timeframes
- Builds advanced charts with dynamic scaling using Matplotlib
- Sends charts to the Gemini Vision API for technical analysis
- Generates PDF and HTML reports with embedded charts and tables
- Automatically updates report URLs in Excel
Important Note
This tool is for educational and informational purposes only. Not investment research or advice.
How to Use
#- Download and Install:
- Download the Excel file using the button above
- Install xlwings Lite from the Add-in button in Excel
- Get a Gemini API Key:
- Go to aistudio.google.com
- Navigate to "Get API Key -> Create AI Key"
- Free, takes less than a minute (no credit card required)
- Enter Your Data:
- Input a stock ticker symbol and date ranges
- Run 'Generate Technicals Only' for charts and tables
- Run 'Generate AI Analysis' for AI analysis with charts
- View Reports: click the generated URLs to view PDF and HTML reports
How It Works
#Multi-tier architecture orchestration:
Data Processing
- Excel frontend with xlwings Lite integration
- Python backend for data processing and chart generation
- Custom FastAPI server for Yahoo Finance data retrieval
- Pandas for data manipulation and time series resampling
Visualization & Analysis
- Matplotlib for professional-grade technical charts
- Finta package for technical indicator calculations
- Gemini Vision API for chart pattern recognition
- Base64 encoding for image transmission
Report Generation
- Custom FastAPI server for markdown to PDF/HTML conversion
- Professional formatting with custom styles
- Automatic URL generation and updates in Excel
- Interactive HTML reports with embedded charts
Architecture Flow
Data flows from Excel through Python processing to AI analysis and final report generation
Resources
Official website with installation instructions and examples
Comprehensive documentation with Excel object reference and API docs
GitHub repo for the FastAPI service that converts markdown to PDF reports
GitHub repo for the FastAPI service that connects to Yahoo Finance