Bot Telegram
Il cockpit protetto da PIN. Stesso motore della dashboard, servito via @-mention.
Collega il tuo account Telegram dalla pagina profilo della dashboard; il bot fa un handshake una tantum per associare il tuo chat ID. Dopo di che, ogni comando viene eseguito limitatamente al tuo account.
Sola lettura
| Command | Usage | Description |
|---|---|---|
| /strategies | /strategies | Elenco dei tuoi set di regole salvati. |
| /templates | /templates | Elenca i template di set di regole inclusi. |
| /show | /show <strategy> [--raw] | Stampa pretty o dump YAML raw di una strategia. |
| /backtest | /backtest <strategy> [symbol] [tf] [days] | Esegue un backtest e risponde con il report PDF. |
| /tradechart | /tradechart <strategy> [symbol] [tf] [days] [padding] | Un grafico per trade con riquadri TP / SL sovrapposti. |
| /swings | /swings [symbol] [tf] [bars] [lookback] | Elenca i pivot di swing confermati in una finestra. |
| /breaks | /breaks [symbol] [tf] [bars] [lookback] | Prima chiusura che rompe ogni swing. |
| /validbreaks | /validbreaks [symbol] [tf] [bars] [lookback] | Breakout confermati dalla chiusura successiva. |
| /trends | /trends [symbol] [tf] [bars] [lookback] [padding] | Regioni di trend SMC BOS / CHoCH su un grafico. |
| /validtrends | /validtrends [symbol] [tf] [bars] [lookback] [padding] | Come /trends ma confermato da due chiusure. |
| /runs | /runs | Elenca le sessioni recenti di backtest / paper / live. |
| /run | /run <id> | Dettagli completi di una sessione. |
| /equity | /equity | Equity attuale live o paper. |
| /positions | /positions | Posizioni aperte sulle sessioni attive. |
| /pulse | /pulse | Ticker BTC + funding. Sanity check. |
| /status | /status | Salute del motore, uptime, ultimo errore. |
Compute (senza PIN)
| Command | Usage | Description |
|---|---|---|
| /optimize | /optimize <strategy> [sym] [tf] [days] [trials] | Riottimizza i parametri su una finestra. |
| /montecarlo | /montecarlo <strategy> [sym] [tf] [days] [reps] | Stress test Monte Carlo sul ledger dei trade. |
Control (con PIN)
| Command | Usage | Description |
|---|---|---|
| /start_paper | /start_paper <strategy> [sym] [tf] [cash] <pin> | Avvia una sessione di paper trading. |
| /stop | /stop <run_id> <pin> | Ferma una sessione paper / live in corso. |
| /kill | /kill <pin> | Hard-kill del motore. Ultima risorsa. |
| /flatten | /flatten <pin> | Chiude immediatamente tutte le posizioni aperte. |
Sul PIN
I comandi di controllo prendono un ultimo argomento aggiuntivo — un PIN da 4 a 8 cifre che imposti dalla pagina profilo della dashboard. Il PIN non viene mai loggato; è l'unico passo di autorizzazione del bot per le azioni che muovono denaro.
Backtest-complete notifications
When a backtest finishes, the bot sends you a summary with the headline metrics (PnL, Sharpe, Sortino, drawdown, win rate, profit factor) and the strategy's own conditions written out in English — for example, `(Long - EMA20 greater than 30) AND (Long - rsi14 greater than 15)`. Tap the Trade-Chart PDF button on the message to receive the per-trade chart report as a Telegram document.
Sample message
📊 Backtest complete
Strategy: custom:ema_breakout
Market: BTC/USDT · 1h · 60 days
— Performance —
PnL %: +4.21 %
Sharpe: 1.180
Sortino: 1.610
Max drawdown: 3.40 %
Trades: 12
Win rate: 66.67 %
Profit factor: 2.10
— Strategy config —
Indicators: EMA20, rsi14
Entry rules:
(Long - EMA20 greater than 30) AND (Long - rsi14 greater than 15)
Exit rules:
(close crosses below EMA20) OR (Long - take profit at 5.00%) OR (stop loss at 2.00%)
[ 📄 Trade-Chart PDF ]Backtest-complete is enabled by default on the Notifications page. To turn it off, uncheck `backtest_complete` in the enabled-events list.