worker: align Telegram bot copy with the site (drop paper / dry-run wording)
All checks were successful
deploy / deploy (push) Successful in 6s

Boot, status and help messages now say "Quant Agent" instead of
"$QUANT paper agent — dry-run", matching the de-paper'd site voice.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
zefiroff 2026-06-09 19:58:06 +04:00
parent 6574fdd6eb
commit 76ebbf3954

View file

@ -55,7 +55,7 @@ function statusMsg(): string {
? st.positions.map((p) => `${p.coin} ${p.dir}`).join(' · ')
: '—'
return [
`📊 <b>$QUANT</b> — paper · ${CONFIG.mode}`,
`📊 <b>Quant Agent</b>`,
`equity ${usd(s.equity)} (${pct(s.roiPct)})`,
`open ${open}`,
`closed ${s.trades} · win ${Math.round(s.winRate * 100)}%`,
@ -93,7 +93,7 @@ function positionsMsg(): string {
const helpMsg = () =>
[
'🤖 <b>$QUANT paper agent</b>',
'🤖 <b>Quant Agent</b>',
'/status — equity, open positions, win rate',
'/positions — open positions detail',
'/pnl or /learn — retrospective over closed trades',
@ -164,7 +164,7 @@ async function commandLoop(): Promise<void> {
// ── boot ──────────────────────────────────────────────────────────────────────
function bootMsg(s: Stats): string {
return [
`🟩 <b>$QUANT</b> paper agent online — ${CONFIG.mode}`,
`🟩 <b>Quant Agent</b> online`,
`${CONFIG.coins.join(' · ')} · ${CONFIG.interval} · poll ${CONFIG.pollMs / 1000}s`,
`equity ${usd(s.equity)} · ${s.trades} trades so far`,
].join('\n')