Showcase: Invest Alert Bot — alert-driven Telegram integration with TradingAgentsGraph
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:
- Watches crypto (Binance futures) + US equities/ETFs/gold (Yahoo Finance) on 4H / 1D / 1W
- Sends Telegram alerts on rule-based signals (MA cluster + 200MA touch)
- Automatically enqueues TradingAgents analysis after every alert (optional, via
uv sync --extra analysis) - Delivers Telegram summary + HTML report attachment when analysis completes
- Supports manual
/analyze MSFTon demand
Design principle: rules decide when to look; TradingAgents helps interpret what it might mean. No auto-trading.
How TradingAgents is integrated
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:
uv sync --extra analysis # pulls tradingagents @ v0.2.5 from this repoBot 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
analysisextra
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