Telegram Reference

Control and monitor your Artic agents from Telegram.

Setup

  1. Create a bot via @BotFather
  2. Set TELEGRAM_BOT_TOKEN in your environment
  3. Run the bot:
cd clients/telegram
pip install -r requirements.txt
python -m telegram

Per-chat sessions

Login state is tied to your Telegram chat ID. Each chat maintains its own authenticated session.


Authentication

CommandUsageDescription
/start/startShow welcome message and command list
/register/register <email> <password>Create account and auto-login
/login/login <email> <password>Authenticate existing account

Agent Management

CommandUsageDescription
/agents/agentsList all agents with status and live PnL
/agent/agent <id>Full details — config + live status if running
/status/status <id>Live snapshot: side, price, entry, PnL, strategy, action
/create/create <symbol> [amount] [leverage] [risk]Create and launch agent
/startbot/startbot <id>Restart a stopped agent
/stopbot/stopbot <id>Stop a running agent
/logs/logs <id>Last 15 log entries with level icons
/symbols/symbolsList all supported trading pairs

Create Agent

/create <symbol> [amount] [leverage] [risk]
ParameterDefaultConstraints
SymbolrequiredTicker (BTC) or pair (BTCUSDT). See /symbols
Amount100USDT, must be greater than 0
Leverage51–125
Riskmoderateconservative, moderate, aggressive

Examples:

/create BTC
/create ETH 200
/create SOL 500 10 aggressive

Edit Agent

/edit <agent_id> <field> <value>
FieldMaps toTypeExample
amountamount_usdtnumber/edit abc1 amount 500
leverageleverageinteger/edit abc1 leverage 10
tptp_pctdecimal/edit abc1 tp 0.05 (= 5%)
slsl_pctdecimal/edit abc1 sl 0.02 (= 2%)
riskrisk_profilestring/edit abc1 risk aggressive
supervisorsupervisor_intervalnumber/edit abc1 supervisor 120 (seconds)
pollpoll_secondsnumber/edit abc1 poll 2
llmllm_providerstring/edit abc1 llm anthropic
namenamestring/edit abc1 name "My Bot"

Leaderboard

CommandUsageDescription
/leaderboard/leaderboardTop 5 agents globally
/optin/optin <id> [handle]Join leaderboard with optional display name
/optout/optout <id>Remove agent from leaderboard

Agent ID Prefix Matching

You don't need the full UUID — any unique prefix of 4+ characters works:

/status abc1        matches abc1a2b3-...
/stopbot 9f3e       matches 9f3e7d88-...

If the prefix matches multiple agents, the bot lists them so you can be more specific.


Log Level Icons

IconLevel
🎯action
🚨sl_tp
👨‍💻supervisor
🤖llm
error
⚠️warn
🚀init
▶️start
⏹️stop
📉tick