TIGZIG: Co-Analyst - Stock Data to AI Reports | TIGZIG Co-Analyst
Try the App Live

Stock Data to AI Reports

Pull stock data from Yahoo Finance, run AI analysis, get PDF reports

xlwings Lite: Stock Data to AI Reports

Excel app demonstrating how to pull stock data from Yahoo Finance, create technical analysis using API calls to FastAPI servers, and generate PDF reports by connecting to LLMs.

How xlwings Lite Works: The Python code is embedded directly inside the Excel file itself! Download the Excel file from the link below to get the complete app with all code included.


What This App Does

This xlwings Lite app enables you to pull stock data, perform technical analysis, and generate AI-powered reports:

How to Use

  1. Download the app and install xlwings Lite from the Add-in button in Excel.
  2. Get a Gemini API key:
    • Go to aistudio.google.com → Get API Key → Create AI Key.
    • Free, takes less than a minute (no credit card required).
  3. Use the built-in functions:
    • get_profile - Pull company profile information from Yahoo Finance
    • get_prices - Retrieve historical stock price data
    • get_profit_loss - Get the profit and loss statement
    • get_balance_sheet - Get the company's balance sheet
    • get_cash_flow - Get the cash flow statement
    • get_quarterly - Retrieve quarterly financial data
    • create_technicals - Calculate technical indicators like EMA, RSI, MACD
    • get_technical_analysis_from_gemini - Generate AI analysis of the technical indicators
  4. Enter ticker symbols: Input Yahoo Finance symbols (e.g., AAPL, ^NSEI) to retrieve data.
  5. Click buttons to trigger actions: Get profiles, prices, financials, and generate reports.

How It Works

This app orchestrates a flow between Excel, FastAPI servers, and AI services:

IMPORTANT: Fine Print YLENS: Yahoo Finance Analyzer is not investment research or advice. It's a working prototype to demonstrate what's possible with xlwings Lite. AI and automation setups in live use cases require iteration, validation, and human judgment.


Source Code & Resources

Source Code Location: All Python source code is embedded inside the Excel file! You can download the Excel file with embedded code from the links above.


Created by Felix Zumstein, xlwings Lite delivers a powerful and flexible solution for integrating Python with Excel - enabling native Excel support for databases, AI agents, LLMs, advanced analytics, machine learning, APIs, web services, and complete automation workflows.