blind-monkeys / templates /telegram.html
deanpowers's picture
Sync workspace source: rank tracker module + routes, Grid DB admin page, flaskfactory AI probe + analytics zone, nav.js v16 Blog pill, template refresh
c8c30b4
Raw History Blame Contribute Delete
7.4 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Telegram β€” Blind Monkeys</title>
<meta name="description" content="Blind Monkeys Telegram channels: one channel per event type so each alert can have its own notification sound β€” grid and futures activity, closures, funding, and the Ka-ching profit channel.">
<link rel="stylesheet" href="/css/nav.css?v=4">
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
<style>
* { box-sizing: border-box; }
body { background: #0d1117; color: #e6edf3; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; margin: 0; line-height: 1.65; }
.page-content { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }
h1 { font-size: 32px; margin: 0 0 6px; letter-spacing: -0.5px; }
.tagline { color: #f0b90b; font-size: 16px; font-weight: 600; margin: 0 0 32px; }
.summary { background: #1e2329; border-left: 4px solid #f0b90b; padding: 18px 22px; border-radius: 8px; margin: 0 0 40px; font-size: 15px; color: #c9d1d9; }
h2 { font-size: 18px; color: #f0b90b; margin: 32px 0 10px; font-weight: 700; }
p, li { color: #c9d1d9; font-size: 15px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
table { border-collapse: collapse; width: 100%; margin: 14px 0 6px; font-size: 14px; }
th, td { border: 1px solid #21262d; padding: 8px 12px; text-align: left; }
th { color: #f0b90b; font-weight: 700; }
code { background: #161b22; border: 1px solid #21262d; border-radius: 5px; padding: 1px 6px; font-size: 13px; color: #f0b90b; font-family: 'SF Mono', Monaco, monospace; }
a { color: #f0b90b; text-decoration: none; }
a:hover { text-decoration: underline; }
.back { margin-top: 40px; padding-top: 24px; border-top: 1px solid #21262d; color: #8b949e; font-size: 13px; text-align: center; }
.breadcrumbs { margin: 0 0 14px 0; font-size: 13px; color: #8b949e; }
.breadcrumbs a { color: #8b949e; text-decoration: none; }
.breadcrumbs a:hover { color: #f0b90b; text-decoration: underline; }
.breadcrumbs .bc-sep { margin: 0 6px; color: #484f58; }
.breadcrumbs .bc-current { color: #e6edf3; }
@media (max-width: 640px) { .breadcrumbs { display: none; } }
</style>
</head>
<body>
<nav class="nav-bar">
<div class="nav-brand">πŸ™ˆ Blind Monkeys</div>
<div class="nav-links">
<a href="/" class="nav-link">🏠 Home</a>
<a href="/scan/" class="nav-link">πŸ” Scan</a>
<a href="/settings/" class="nav-link">βš™οΈ Settings</a>
</div>
</nav>
<div class="page-content">
<div class="breadcrumbs"><a href="/">Home</a><span class="bc-sep">β€Ί</span><span class="bc-current">Telegram</span></div>
<h1>Telegram</h1>
<p class="tagline">One channel per event type β€” each with its own notification sound.</p>
<div class="summary">
Blind Monkeys reports every trading event through Telegram. Alerts are split across dedicated channels so each event type can carry its own notification sound: losses and administrative events get neutral tones, while the Ka-ching channel fires the cash-register sound only when you make money.
</div>
<h2>Headline numbers (last 30 days)</h2>
<table id="tg-stats" style="text-align:center;">
<tr>
<th style="color:#4ade80;">Grid Profits</th>
<th>Closed Grids</th>
<th>Closed Futures</th>
</tr>
<tr id="tg-stats-row">
<td class="mono" style="font-size:22px;font-weight:700;color:#8b949e;">…</td>
<td class="mono" style="font-size:22px;font-weight:700;color:#8b949e;">…</td>
<td class="mono" style="font-size:22px;font-weight:700;color:#8b949e;">…</td>
</tr>
<tr id="tg-stats-sub" style="color:#8b949e;font-size:12px;">
<td>realised grid pair profit</td>
<td id="tg-grid-sub">win rate</td>
<td>tracked closures</td>
</tr>
</table>
<h2>The channels</h2>
<table>
<tr><th>Channel</th><th>What you receive</th></tr>
<tr><td>Blind Monkey Channel</td><td>The daily scan digest (BTC/ETH drawdowns, top risers) and "scan complete, no candidates" alerts</td></tr>
<tr><td>Grid New</td><td>πŸ†• A new grid bot was opened (coin + funding amount)</td></tr>
<tr><td>Grid Profit</td><td>πŸ“ˆ A running grid earned a profit β€” "coin added a grid profit of $X"</td></tr>
<tr><td>Grid Closures</td><td>🏁 A grid closed by take-profit, stop-loss, or manually (coin + final P/L), plus score-weight updates</td></tr>
<tr><td>Futures New</td><td>πŸ†• A futures position opened (coin, margin, leverage, TP/SL)</td></tr>
<tr><td>Futures Funding</td><td>πŸ’΅ Funding events for open futures positions</td></tr>
<tr><td>Futures Close</td><td>🏁 A futures position closed (coin + final P/L)</td></tr>
<tr><td>Ka-ching</td><td>πŸ’° Profit-only alerts with the cash-register sound: grid profits, futures closes with a profit, grid closes with a profit</td></tr>
</table>
<h2>Scan messages</h2>
<p>Every scan β€” the 15-minute automated Conservative and Risk-Taker runs, plus manual scans β€” produces exactly one message to the Blind Monkey Channel:</p>
<ul>
<li><b>Buy signals found:</b> a green "Scan β€” N Buy Signal(s)" message lists up to ten coins with their Z-score, RSI, and momentum.</li>
<li><b>No signals:</b> a "Scan Complete: No coin met the buy criteria" message reports the current score threshold (the auto-open value from the futures settings), the highest-scoring coin even though it didn't qualify β€” with the exact criterion that blocked it (e.g., "blocked by: RSI 67.7 β‰₯ 60") β€” and the mode, number of coins scanned, and the 20-day lookback. Negative scores are shown as "NEGATIVE x.x".</li>
</ul>
<h2>How to receive the alerts</h2>
<p>All channels are administered by <a href="https://t.me/blind_tawk_bot">@blind_tawk_bot</a>. The grid channels are public and can be joined directly:</p>
<ul>
<li><a href="https://t.me/grid_new">t.me/grid_new</a></li>
<li><a href="https://t.me/grid_profit">t.me/grid_profit</a></li>
<li><a href="https://t.me/grid_closures">t.me/grid_closures</a></li>
</ul>
<p>To set a custom notification sound on your phone: open the channel β†’ tap its name β†’ <b>Notifications</b> β†’ <b>Sound</b> β†’ pick the sound.</p>
<div class="back">
<a href="/faq">← FAQ</a>
</div>
</div>
<script src="/css/nav.js?v=16"></script>
<script>
(function () {
fetch('/api/telegram-stats').then(function (r) { return r.json(); }).then(function (d) {
var cells = document.querySelectorAll('#tg-stats-row td');
if (!cells.length || d.error) return;
var gp = parseFloat(d.grid_profits) || 0;
cells[0].textContent = '$' + gp.toFixed(2);
cells[0].style.color = gp >= 0 ? '#4ade80' : '#f87171';
cells[1].textContent = d.closed_grids;
cells[1].style.color = '#e6edf3';
var sub = document.getElementById('tg-grid-sub');
if (sub) sub.textContent = 'win rate ' + (d.grid_win_rate || 0).toFixed(1) + '%';
cells[2].textContent = d.closed_futures;
cells[2].style.color = '#e6edf3';
}).catch(function () { /* leave placeholders */ });
})();
</script>
</body>
</html>