OUTRIDER docs
v1.0.0
Live demo Get help
● Set up · Alerts and commands

Telegram bot
alerts and commands.

Connect a Telegram bot and the desk sends you its alerts and answers commands such as /status, /liq and /stop, only from your own chat. It uses long polling: no webhook and no open port.

01Create the bot

  1. Talk to @BotFatherIn Telegram, open @BotFather, send /newbot, choose a name and a username. BotFather replies with a token. Treat it like a password.
  2. Start a chat with your botOpen your bot and press Start, so it may write to you.
  3. Find your chat idSee below.
  4. Give the desk both values
    export TELEGRAM_BOT_TOKEN=<token from BotFather>
    export TELEGRAM_CHAT_ID=<your chat id>
    npm start
    You can store the token in the console instead (Integrations → Telegram bot token, owner only). The chat id is read only from the environment.
  5. Checknode src/cli.mjs doctor lists the Telegram variables, and the console's health page tests the token. When the desk starts, it sends a start message to your chat.

02Chat id and owner id

In a private chat with the bot, your chat id and your user id are the same number. One way to read it: send any message to your bot, then open this address in a browser and look for "chat":{"id":…}:

https://api.telegram.org/bot<token>/getUpdates

Stop the desk while you do this; the desk reads the same update queue.

Where the bot livesSetWho may command it
Private chat with youTELEGRAM_CHAT_IDOnly you.
A group chatTELEGRAM_CHAT_ID (the group id, negative) and TELEGRAM_OWNER_ID (your user id)Only you, in that group. Without TELEGRAM_OWNER_ID the bot ignores commands in groups, so other members cannot send /stop.

03Commands

CommandAnswer
/statusMode, equity, cash, open positions, hard-stop tier, kill switch, what blocks entries, pump.fun stream state.
/reportPnL, win rate and the edge without the luckiest trades (same as npm run report).
/positionsOpen memecoin, news-perp, HL copy and carry positions.
/newsThe strongest news events right now, per coin.
/pumppump.fun coins being watched and whether they pass the filters.
/lanesWhich lanes are on, today's PnL per lane, and the lane lines of the report with exit grades.
/smartSmart-wallet count, the top wallets, coins several of them are buying now, and what they hold.
/liq [COIN]The liquidation map: nearest clusters above and below, and how much liquidates within ±5 %.
/verifyChecks the journal's hash chain.
/leadersThe scored Hyperliquid wallets being copied.
/stopKill switch on: no new entries; exits keep running.
/resumeKill switch off. If the hard stop is latched red, the reply warns that this also resets it and re-bases the equity peak.
/help, /startThe command list.

Long answers are split into several messages (at most 5 per command).

04Alerts you will receive

  • Desk start, paper buys and sells with PnL, closes, pairs that vanished.
  • Strong news events, whale trades on Hyperliquid, graduation alerts at 80 % and 95 % of the pump.fun curve.
  • Daily loss limit hit, hard-stop tier changes, hard-stop reset, portfolio gross cap reached, allocator status changes.
  • Liquidation map: 🧲 when the price comes within 1.5 % of a cluster of at least USD 5M, 💥 when the price runs through one. Each level alerts once per 6 hours.

Every alert is also printed in the terminal. If Telegram is unreachable, sends pause for a minute so the desk loop is not slowed down.

05Good to know

  • After you change the bot token in the console, restart the desk so the command listener uses it. Alerts pick up the new token right away.