Do you have an old Android phone gathering dust in a drawer? In this guide, we will transform it into a 24/7 automated investment assistant that tracks SEC filings, analyzes insider movements, and sends structured reports directly to your Telegram.

No paid services. No servers. No cloud costs. Just one phone, a few free API keys, and about 15 minutes of your time. Because when it comes to investing, every penny counts.

πŸ”— Project Repository: https://github.com/authorturker/sec-analyzer-ai

How It Works

Whenever you send "Any news?" to your Telegram bot, the system automatically performs these steps:

  1. πŸ” Fetches the latest 10-K, 10-Q, and 8-K filings from SEC EDGAR for your tracked companies.

  2. πŸ•΅‍♂️ Scans for insider trading activity (Form 4).

  3. 🧠 Analyzes every document using OpenRouter's free tier LLMs (like Llama 3.3 or DeepSeek).

  4. πŸ“¬ Delivers a structured, investor-focused summary to your Telegram chat.

  5. πŸ’Ύ Caches processed files so you never see the same report twice.

πŸ“‹ Prerequisites

  • πŸ“± Android Phone: Version 8.0 or higher.

  • πŸ”‘ OpenRouter Account: Free tier (no credit card required).

  • πŸ’¬ Telegram Account: To receive reports and send commands.

πŸ›  Step 1 — Install Termux

Termux provides a full Linux environment on Android. Important: Install the F-Droid version, not the Play Store version, as the latter no longer receives updates.

  1. 🌐 Download F-Droid from f-droid.org.

  2. πŸ“₯ Search for and install Termux within F-Droid.

  3. πŸ’» Open Termux and run the following commands to set up Python:

pkg update -y && pkg upgrade -y pkg install -y python python-pip tmux pip install edgartools requests tzdata

πŸ€– Step 2 — Create Your Telegram Bot

  1. πŸ‘¨‍πŸ’Ό Search for @BotFather on Telegram.

  2. πŸ†• Send /newbot and follow the instructions to get your Bot Token.

  3. πŸ†” Find @userinfobot and send /start to get your unique Chat ID. Note both down.

πŸ”‘ Step 3 — Get Your OpenRouter API Key

Go to openrouter.ai, sign up for free, and create a key under Keys → Create Key.

Free Tier Benefits:

  • πŸ“… Daily Requests: 50 per model (resets at 00:00 UTC).

  • πŸ— Context Window: Up to 128K tokens (perfect for long filings).

  • πŸ€– Free Models: Llama 3.3 70B, Gemma 3, DeepSeek v3, and more.

πŸ“‚ Step 4 — Get the Project

Clone the repository directly into Termux:

git clone https://github.com/authorturker/sec-analyzer-ai cd sec-analyzer-ai mkdir -p reports

πŸ“ Step 5 — Configuration

Open the config file using the nano editor: nano config.py

Fill in the required fields:

  • EDGAR_IDENTITY: "Your Name yourname@email.com"

  • OPENROUTER_API_KEY: "your-sk-or-v1-..."

  • TELEGRAM_BOT_TOKEN: "your-bot-token"

  • TELEGRAM_CHAT_ID: "your-chat-id"

  • TICKERS: ["AAPL", "NVDA", "TSLA", "MU"]

πŸ’‘ Pro Tip: If you hit a rate limit, simply switch the model in config.py. Each free model has its own independent daily quota.

πŸš€ Step 6 — Run and Test

Start the bot: python bot.py

You should see "SEC Analyzer is online" on Telegram. Type "Any news?" in your bot chat to start the first scan.

πŸ”„ Step 7 — Keep It Running in the Background

To keep the bot active even after you close the Termux app, use tmux:

tmux new -s sec python bot.py

Press Ctrl+B, release, then press D to detach. To return to the session later, type: tmux attach -t sec.

πŸ“ˆ Analysis Example Output

🏒 ASML — 10-Q πŸ“… 2026-04-15

πŸ“Š Quarter Performance

  • πŸ’° Revenue: €7.7B (+16% YoY)

  • πŸ“‘ Net bookings: €3.9B — below consensus

πŸ”‘ Key Messages from Management

  • πŸš€ EUV shipments on track for H2 acceleration

  • πŸ‡¨πŸ‡³ China revenue mix declining as expected

Notable Changes

  • πŸ“‰ Gross margin slightly below guidance at 50.8%

πŸ‘€ 3 Factors to Watch

  1. High-NA EUV adoption timeline at major fabs.

  2. China export restriction impact in the second half.

  3. 2026 order visibility and recovery pace.

FAQ

  • What happens if I hit a rate limit? πŸ›‘ The bot handles it gracefully and retries. Switch models in config.py for an immediate reset.

  • How many tickers can I track? πŸ“ˆ There is no hard limit. 20-30 tickers work perfectly fine.

  • What if my phone restarts? πŸ”„ Simply re-open Termux and run python bot.py inside your tmux session.

Disclaimer: This tool is for informational purposes only. Nothing it produces constitutes investment advice. Always do your own research.