Showcase: Invest Alert Bot — alert-driven Telegram integration with TradingAgentsGraph

Author: FormyselfonlyCreated Jun 17, 2026Updated Sep 18, 2026

Showcase: Invest Alert Bot — alert-driven integration

Hi TradingAgents team

I'd like to share a downstream integration project that uses TradingAgentsGraph.propagate() in an event-driven workflow (not CLI-only).

Repository

https://github.com/Formyselfonly/invest-alert-bot

What it does

Invest Alert Bot is a 24/7 asyncio monitoring bot that:

  1. Watches crypto (Binance futures) + US equities/ETFs/gold (Yahoo Finance) on 4H / 1D / 1W
  2. Sends Telegram alerts on rule-based signals (MA cluster + 200MA touch)
  3. Automatically enqueues TradingAgents analysis after every alert (optional, via uv sync --extra analysis)
  4. Delivers Telegram summary + HTML report attachment when analysis completes
  5. Supports manual /analyze MSFT on demand

Design principle: rules decide when to look; TradingAgents helps interpret what it might mean. No auto-trading.

How TradingAgents is integrated

python
from tradingagents.graph.trading_graph import TradingAgentsGraph
from tradingagents.default_config import DEFAULT_CONFIG

config = DEFAULT_CONFIG.copy()
config["llm_provider"] = "deepseek"  # or openai, etc.
config["deep_think_llm"] = "deepseek-chat"
config["quick_think_llm"] = "deepseek-chat"
config["max_debate_rounds"] = 1

ta = TradingAgentsGraph(debug=False, config=config)
_, decision = ta.propagate("NVDA", "2026-06-16")

Wrapper: app/providers/tradingagents_client.py
Async worker queue: app/services/analysis_worker.py
Integration design doc: tradingagents-iteration.md

Install as optional extra:

bash
uv sync --extra analysis   # pulls tradingagents @ v0.2.5 from this repo

Bot metrics (MA cluster %, 200MA distance, above/below) are injected as a ground-truth briefing before/inside the report so agents don't hallucinate prices.

Why this might be useful for the community

  • Shows production-style usage: alert → queue → propagate() → deliverable (HTML + messaging)
  • Multi-asset watchlist: BTC-USD, MSFT, QQQ, GC=F, etc. with symbol mapping
  • LLM providers via official config (DeepSeek in my setup; OpenAI works too)
  • Fully optional: bot runs fine without the analysis extra

Ask / offer

If you're open to a Community Projects section in the main README, I'd be happy to open a small docs PR linking this repo.

Also happy to contribute a minimal examples/alert_triggered_propagate.md snippet if that helps other users.

Thanks for open-sourcing TradingAgents — the propagate() API made this integration straightforward.


Disclaimer: Research / personal project only. Not financial advice. See repo README.


---

Source: TauricResearch/TradingAgents