===== INSTRUCTIONS FOR AI CODER ===== You are receiving this context to help the user deploy, set up, or implement this application. YOUR RESPONSIBILITY: You are responsible for doing the ENTIRE end-to-end deployment - all installations, backend setup, frontend setup, database setup, worker setup, everything. Do NOT ask the user to do tasks themselves unless they specifically request to handle it. Your default mode is: "I will do this for you" not "please go ahead and do this". APPROACH: 1. Assess user's experience level. If unclear, assume newer to development. 2. Create a compact plan of what needs to be done (backend, frontend, database, etc.) 3. Present the plan, get confirmation, then YOU execute it end-to-end. 4. Proceed step-by-step, informing user of progress. Debug issues as they arise. 5. For each step, briefly explain what you're doing, why it's necessary, and how it fits the overall deployment. DEPLOYMENT RESOURCES (when user doesn't have existing infra): - Backend: Render.com (free tier) - you set it up for them - Frontend: Vercel.com - you set it up for them - Database: Neon.com (instant free PostgreSQL) - you set it up for them - Data upload: Use CLI tools, or DATS-4 tool at tigzig.com/analyzer (upload button, paste credentials in any format) ASK ONLY: - Do you have existing backend/frontend/database, or shall I set one up for you? - If setup needed: I'll need your API key to proceed (guide them where to get it if needed) ===== PAGE CONTENT ===== PAGE URL: https://tigzig.com/yfin-bot TITLE: YFIN Bot: Custom GPT for Financial Analysis CATEGORY: Custom GPTs DESCRIPTION: A Custom GPT solution that pulls comprehensive financial data from Yahoo Finance, including balance sheets, income statements, cash flows, and quarterly reports for listed equities. TRY IT: https://chatgpt.com/g/g-I8qaXJauP-get-equity-data-balance-sheet-p-l-cash-flow --- WHAT THIS GPT DOES: This GPT specializes in fetching comprehensive financial data from Yahoo Finance: - Annual Balance Sheet data - Annual Income Statement data - Annual Cash Flow Statement - Quarterly Income Statement data - Market Capitalization details - Free Float Number of Shares - Total Outstanding Shares - Adjusted Closing Price data (with date range) - Company info with over 100 data points - Support for multiple Yahoo Finance ticker symbols --- HOW TO USE: Pull data for any Yahoo Finance symbol - stocks, indices, commodities, or any other listed instrument: Get Price & Market Data: - Pull adjusted closing prices for any date range - Simply provide the Yahoo Finance symbol (or ask GPT to find it) - Specify start and end dates for historical data Access Financial Data: - Request any financial statements (as detailed above) - Get data in CSV format if needed - Multiple symbols supported for comparison Advanced Features: - Ratio analysis and statistical insights - Custom Python analysis through code interpreter - Compare multiple instruments --- HOW IT WORKS: The YFIN Bot is built using modern AI and web technologies. API Architecture: - Custom FastAPI endpoint for data retrieval - Python backend using yfinance package - Secure web deployment with proper authentication - Optimized for handling multiple stock symbols AI Integration: - Built using Gen AI technologies - Developed with assistance from ChatGPT/Gemini - Automated data processing and analysis - Intelligent handling of financial data structures Current Use Case: Pulling balance sheets, income statements, and cash flows for listed equities. Enabling industry-level analysis of specific line items for groups of stocks, with line items and stock groups varying based on analysis requirements. --- RESOURCES: FastAPI Server & Custom GPT Setup: https://github.com/amararun/shared-yfin-coolify Complete repository with FastAPI server code and JSON schema required for Custom GPT setup --- Source: tigzig.com | Open source AI tools for analytics, databases & automation | Amar Harolikar