Telegram Bot
Use MarketIntell from Telegram via @marketintell_bot or follow @marketintell_signals
Telegram
Two surfaces:
@marketintell_bot— the conversational bot. Send a question, get a brain response. Same tier-aware model selection as the RESTPOST /v1/chat.@marketintell_signals— the public broadcast channel. TradeSignals and high-impact alpha observations are posted with live status, lifecycle updates (entered / closed), and tappable deep-dive prompts.
Getting started with the bot
- Open Telegram and search for
@marketintell_bot. - Send
/start. On first run the bot provisions a free-tier API key tied to your chat (owner_id = tg_<chatId>). The raw key stays server-side — you never need to copy it. The same key powers/usage,/upgrade, sessions, portfolios, and the daily quota. - Ask anything:
BTC trade setup,compare AAPL vs MSFT earnings,what's the current ETH/BTC ratio?. Multi-turn conversation is supported automatically.
Available commands
Trade signals & accuracy
| Command | Description |
|---|---|
/signals | Live, queued, and today's closed TradeSignals |
/signals stats | 7-day win-rate breakdown |
/signals history | Recent closed signals |
/accuracy | Calibrated TradeSignal track record |
/accuracy alpha | Legacy alpha-tracker view |
/leaderboard | Best-performing tokens |
Alpha radar & discovery
| Command | Description |
|---|---|
/radar | News-shaped alpha observations |
/equities | US-equities — TradeSignals first, alpha fallback |
/india | India equities — TradeSignals first, alpha fallback |
/predict <topic> | Polymarket-backed prediction snapshot |
/options <symbol> | Options walls, GEX, scenarios (Builder+) |
/whales [token] | Hyperliquid whale-consensus PNG card (Builder+) |
Trading & agents
| Command | Description |
|---|---|
/brokers | List connected brokers (Alpaca, Hyperliquid) |
/connect <broker> | Deep-link to the web connect flow for a broker |
/agents | List your autonomous research/trading agents (Builder+) |
Preferences
/prefs opens the subscription + filters panel. Subcommands let you adjust without leaving the keyboard:
/prefs pause//prefs resume/prefs mute BTC//prefs only ETH/prefs minrr 1.5//prefs minconf 65/prefs timeframes 1H,4H//prefs directions long,short/prefs quiet 22-7//prefs reset
Portfolio
| Command | Description |
|---|---|
/portfolio | View holdings & P&L, with per-token 🗑 buttons and 🗑 Clear all |
/portfolio_chat | Toggle portfolio-aware chat |
"Add 2 BTC at $67k" | Natural-language add |
Per-holding 🗑 SYM buttons remove one token without leaving Telegram; 🗑 Clear all asks for confirmation, then deletes the portfolio entirely.
Account
| Command | Description |
|---|---|
/usage | Plan, daily quota usage, queries left (alias: /premium) |
/upgrade | Open Stripe checkout for Builder / Pro |
/billing | Open Stripe customer portal — manage subscription, invoices |
/sessions | Recent chat threads (tap to resume or delete) |
/delete_account | Cascade-delete everything tied to this chat |
For developers
| Command | Description |
|---|---|
/mcp | MCP server URLs (SSE + Streamable HTTP) — wire MarketIntell into Claude / Cursor |
About
| Command | Description |
|---|---|
/about | What MarketIntell is, plus docs / accuracy links |
/methodology | How signals are scored (hypothesis → outcome → calibrated accuracy) |
/feedback | Send the team a note |
System
| Command | Description |
|---|---|
/start | Register and show welcome |
/help | List all commands |
/new | Reset the current conversation thread |
/status | API health and signal counts |
/admin | Whitelisted internal chats only |
Plans & daily quotas
Quotas come straight from the API key tier — same as the REST and web surfaces. Telegram has no separate ladder.
| Tier | Bot model | Daily queries | Highlights |
|---|---|---|---|
| Free | Sonnet 4 | 20 | All tools, source citations |
| Builder ($49/mo) | Sonnet 4 | 5,000 | API tier — high throughput |
| Pro ($199/mo) | Sonnet 4.6 | 500 (deeper) | + webhooks, agents, saved chats |
| Enterprise | Custom | Unlimited | + SSO, custom routing |
/upgrade mints a Stripe Checkout session for the chat's API key. When the webhook completes, the bot posts a confirmation back to the same chat and /usage shows the new tier immediately.
Public signal channel
@marketintell_signals is read-only — anyone can join, no signup required. Posts include:
- TradeSignal cards (entry, stop, take-profits, RR, calibrated confidence)
- Lifecycle updates (
live→entered→closed/cancelled) - Tappable buttons for deep-dive, similar setups, post-mortems
- High-impact alpha observations from the legacy radar
Quiet hours: posts pause between 02:00 and 06:00 UTC by default. Cards drop into a digest when more than TRADE_DIGEST_THRESHOLD signals would fire at once.
Sessions
The bot persists every brain conversation as a ChatSession row in Postgres, owned by tg_<chatId>. /sessions lists the most recent threads with first-message previews. Tapping ↻ Resume binds the chat to that session, so the next free-text message continues that thread instead of starting fresh. 🗑 deletes a single session; /delete_account wipes them all.
Privacy & data
- Your API key is server-side. There is no claim flow — keys provisioned through Telegram aren't meant for direct REST use.
/portfoliodata,/sessions, agents, webhooks, and broker connections all share the same per-chat owner scope as the API key./delete_accountcascades: sessions, portfolios, agents, webhooks, then revokes the API key. Stripe subscriptions are not auto-cancelled — visit/settings/billingon the web first.
Channel ops
For outbound signal delivery to your own Telegram channel (not @marketintell_signals), register a webhook (see Webhooks Guide) pointing at a tiny relay that forwards into your channel.
The official channel feed is driven by bot/trade-broadcast.ts — the TradeSignal broadcaster (order-shaped signals with entry/stop/TP/RR and lifecycle edits). Fan-out is controlled by TELEGRAM_DESK_CHAT_IDS (falls back to TELEGRAM_SIGNAL_CHAT_IDS if unset). No feature flag — it's on whenever a chat-id list is configured.
Architecture
The bot lives in apps/api/src/bot/ — handlers, commands, broadcast engine, and singleton lease management are all in-process with the brain so latency stays low.