k e2c00937b5 fix(telegram): /status shows auto_trade+paper_mode, adopt:dup edits message
Bug 1: /status didn't show auto_trade or paper_mode — the two most
important trading states for Pro users. Added a trading block that
queries the Subscription row (only when wallet-linked) and shows:
  Auto-Trade: ON/OFF, Mode: Paper/Live, Circuit breaker: clear/tripped.

Bug 2: adopt:dup callback (tapping an 'already managed' position in the
/adopt picker) answered the spinner but left the picker message stuck
with no guidance. Now edits the message in place: explains the position
is already managed and shows /release commands. Button no longer
results in a visually broken UI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 23:42:39 +08:00
2026-04-20 23:05:59 +08:00
2026-04-20 23:05:59 +08:00
2026-04-21 19:33:24 +08:00
2026-04-21 19:33:24 +08:00

  1. 填 backend .env(生产值):

POSTGRES_PASSWORD=强密码 FRONTEND_URL=https://你的前端域名 ENCRYPTION_KEY=之前生成的那个 AI_API_KEY=sk-... ENVIRONMENT=production 2. 改前端 .env.local

NEXT_PUBLIC_API_URL=https://api.你的域名.com NEXT_PUBLIC_WS_URL=wss://api.你的域名.com 启动:

cd backend docker compose up -d

S
Description
No description provided
Readme 718 KiB
Languages
Python 99.6%
Shell 0.3%
Dockerfile 0.1%