Sync workspace source: rank tracker module + routes, Grid DB admin page, flaskfactory AI probe + analytics zone, nav.js v16 Blog pill, template refresh
c8c30b4 Download static/scan/index.html from deanpowers/blind-monkeys: direct link, hf CLI and curl.
- Browser
- Download file 10.8 kB
-
https://huggingface.co/deanpowers/blind-monkeys/resolve/main/static/scan/index.html
- Command line
-
hf download hf://deanpowers/blind-monkeys/static/scan/index.html
-
curl -L -o index.html https://huggingface.co/deanpowers/blind-monkeys/resolve/main/static/scan/index.html
10.8 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Blind Monkeys</title> | |
| <link rel="stylesheet" href="/css/nav.css?v=4"> | |
| <style> | |
| * { box-sizing: border-box; } | |
| body { background: #0d1117; color: #e6edf3; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; margin: 0; } | |
| .page-content { max-width: 1000px; margin: 0 auto; padding: 32px 20px 20px; } | |
| h1 { font-size: 26px; margin: 0 0 4px; } | |
| .sub { color: #8b949e; font-size: 14px; margin-bottom: 20px; } | |
| .now { background: #1e2329; border: 2px solid #30363d; border-radius: 12px; padding: 20px; margin-bottom: 20px; text-align: center; } | |
| .now .lbl { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8b949e; margin-bottom: 8px; } | |
| .now .val { font-size: 30px; font-weight: 700; } | |
| .now .hint { font-size: 13px; color: #8b949e; margin-top: 8px; } | |
| .stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 28px; } | |
| .stat { background: #1e2329; border: 1px solid #30363d; border-radius: 10px; padding: 14px 16px; } | |
| .stat .t { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #f0b90b; margin-bottom: 6px; } | |
| .stat .v { font-size: 20px; font-weight: 700; font-family: 'SF Mono', Monaco, monospace; } | |
| .stat .d { font-size: 11px; color: #8b949e; margin-top: 4px; } | |
| .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 40px; } | |
| .card { background: #1e2329; border: 2px solid #30363d; border-radius: 12px; padding: 22px; text-decoration: none; color: #e6edf3; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; position: relative; } | |
| .card:hover { transform: translateY(-2px); } | |
| .up.live { border-color: #4ade80; box-shadow: 0 0 18px rgba(74,222,128,.25); } | |
| .side.live { border-color: #f0b90b; box-shadow: 0 0 18px rgba(240,185,11,.25); } | |
| .down.live { border-color: #f87171; box-shadow: 0 0 18px rgba(248,113,113,.25); } | |
| .ico { font-size: 32px; line-height: 1; margin-bottom: 12px; } | |
| .t { font-size: 18px; font-weight: 700; margin-bottom: 8px; } | |
| .up .t { color: #4ade80; } .side .t { color: #f0b90b; } .down .t { color: #f87171; } | |
| .desc { font-size: 13px; color: #8b949e; line-height: 1.5; margin-bottom: 12px; } | |
| .strategy { font-size: 12px; line-height: 1.7; } | |
| .strategy b { color: #e6edf3; } | |
| .badge { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; display: none; } | |
| .card.live .badge { display: inline-block; } | |
| .up .badge { background: rgba(74,222,128,.15); color: #4ade80; border: 1px solid #4ade80; } | |
| .side .badge { background: rgba(240,185,11,.15); color: #f0b90b; border: 1px solid #f0b90b; } | |
| .down .badge { background: rgba(248,113,113,.15); color: #f87171; border: 1px solid #f87171; } | |
| /* ---------- Videos ---------- */ | |
| .yt-section { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px 40px; } | |
| .yt-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; } | |
| .yt-title { color: #f0b90b; font-size: 22px; font-weight: 700; margin: 0; } | |
| .yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; } | |
| .yt-card { background: #1e2329; border: 1px solid #30363d; border-radius: 10px; overflow: hidden; } | |
| .yt-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; } | |
| #ytAdminBar { display: flex; gap: 8px; align-items: center; } | |
| #ytInput { padding: 8px 12px; background: #0d1117; border: 1px solid #30363d; border-radius: 8px; color: #e6edf3; font-size: 13px; width: 320px; max-width: 70vw; } | |
| #ytInput:focus { outline:none; border-color:#f0b90b; } | |
| .yt-btn { background:#f0b90b; color:#0b0e11; border:0; border-radius:8px; padding:8px 16px; font-weight:700; cursor:pointer; font-size:14px; } | |
| .yt-btn:hover { background:#d9a70a; } | |
| .yt-btn:disabled { opacity:0.6; cursor:not-allowed; } | |
| .yt-empty { color:#8b949e; font-style:italic; padding:12px 0; } | |
| </style> | |
| <link rel="icon" type="image/svg+xml" href="/static/favicon.svg"> | |
| </head> | |
| <body> | |
| <nav class="nav-bar"> | |
| <a href="/" class="nav-brand">π Blind Monkeys</a> | |
| <div class="nav-links"> | |
| <a href="/financials/" class="nav-link">π Financials</a> | |
| <a href="/settings/" class="nav-link">βοΈ Settings</a> | |
| </div> | |
| </nav> | |
| <div class="page-content"> | |
| <div class="breadcrumbs"><span class="bc-current">Home</span></div> | |
| <h1>π Market Regimes</h1> | |
| <p class="sub">Live market direction and the strategy that fits each regime.</p> | |
| <div class="now"> | |
| <div class="lbl">Current Regime</div> | |
| <div class="val" id="now-regime">Detectingβ¦</div> | |
| <div class="hint" id="now-hint">Based on ETH and BTC 24-hour price action.</div> | |
| </div> | |
| <div class="stats"> | |
| <div class="stat"><div class="t">ETH off 24h High</div><div class="v" id="v-eth">β</div><div class="d">24h drawdown</div></div> | |
| <div class="stat"><div class="t">Fear & Greed</div><div class="v" id="v-fng">β</div><div class="d" id="d-fng">sentiment</div></div> | |
| <div class="stat"><div class="t">VIX</div><div class="v" id="v-vix">β</div><div class="d">volatility</div></div> | |
| <div class="stat"><div class="t">10Y Treasury</div><div class="v" id="v-tsyy">β</div><div class="d">macro</div></div> | |
| </div> | |
| <div class="cards"> | |
| <a class="card up" id="card-up" href="/upward"> | |
| <span class="badge">Active Now</span> | |
| <div class="ico">π</div> | |
| <div class="t">Upward Markets</div> | |
| <div class="desc">Prices trending up with sustained momentum. Breakouts hold; dips get bought quickly.</div> | |
| <div class="strategy"> | |
| <b>What runs here:</b> <b style="color:#4ade80;">Futures from 15 minute scans.</b> Coins meet criteria for RSI, Momentum, ADX, and Zscore. | |
| </div> | |
| </a> | |
| <a class="card side" id="card-side" href="/sideways"> | |
| <span class="badge">Active Now</span> | |
| <div class="ico">βοΈ</div> | |
| <div class="t">Sideways Markets</div> | |
| <div class="desc">Range-bound price action β oscillation inside a band, low net drift.</div> | |
| <div class="strategy"> | |
| <b>What runs here:</b> <b style="color:#f0b90b;">grid bots</b> β every oscillation is harvested profit. Our core strategy.<br> | |
| <b>Watch:</b> bounces inside the Β±3% band and low ADX (no trend). | |
| </div> | |
| </a> | |
| <a class="card down" id="card-down" href="/downward"> | |
| <span class="badge">Active Now</span> | |
| <div class="ico">π</div> | |
| <div class="t">Downward Markets</div> | |
| <div class="desc">BTC/ETH declining from highs β most coins follow, grids go quiet.</div> | |
| <div class="strategy"> | |
| <b>What runs here:</b> <b style="color:#4ade80;">futures on Rising Coins</b> β coins rising against a falling market show relative strength.<br> | |
| <b>Watch:</b> coins defying the drawdown with volume and open-interest growth. | |
| </div> | |
| </a> | |
| </div> | |
| </div> | |
| <section class="yt-section"> | |
| <div class="yt-head"> | |
| <h2 class="yt-title">πΊ Recent Videos</h2> | |
| <div id="ytAdminBar" style="display:none;"> | |
| <input id="ytInput" type="url" maxlength="200" placeholder="Paste YouTube URL"> | |
| <button id="ytAddBtn" class="yt-btn" type="button">Add video</button> | |
| </div> | |
| </div> | |
| <div class="yt-grid" id="ytGrid"></div> | |
| </section> | |
| <script src="/css/nav.js?v=16"></script> | |
| <script src="/videos.js"></script> | |
| <script src="/static/alerts.js?v=1"></script> | |
| <script> | |
| function setRegime(kind, label, hint) { | |
| var el = document.getElementById('now-regime'); | |
| el.textContent = label; | |
| el.style.color = kind === 'up' ? '#4ade80' : (kind === 'down' ? '#f87171' : '#f0b90b'); | |
| var h = document.getElementById('now-hint'); | |
| if (h) h.textContent = hint; | |
| ['up', 'side', 'down'].forEach(function (k) { | |
| document.getElementById('card-' + k).classList.toggle('live', k === kind); | |
| }); | |
| } | |
| fetch('/api/market-regime').then(function (r) { return r.json(); }).then(function (d) { | |
| var drop = Number(d.drop_pct || d.drop_percentage || 0); | |
| var el = document.getElementById('v-eth'); | |
| el.textContent = drop.toFixed(2) + '%'; | |
| el.style.color = drop < 0 ? '#f87171' : '#4ade80'; | |
| if (drop >= 2) { | |
| setRegime('down', 'π Downward', 'ETH is ' + drop.toFixed(2) + '% off its 24h high β Rising Coin futures are the active strategy.'); | |
| } else if (drop < 0.5) { | |
| setRegime('side', 'βοΈ Sideways', 'ETH is ' + drop.toFixed(2) + '% off its 24h high β oscillation regime, grid bots are harvesting.'); | |
| } else { | |
| setRegime('up', 'π Upward', 'ETH holding near its 24h high β momentum regime.'); | |
| } | |
| }).catch(function () { | |
| setRegime('side', 'βοΈ Sideways (assumed)', 'Could not read live regime data.'); | |
| }); | |
| fetch('/api/regime-panel').then(function (r) { return r.json(); }).then(function (p) { | |
| var f = p.fear_greed || {}; | |
| if (f && f.value !== undefined) { | |
| var v = Number(f.value); | |
| var el = document.getElementById('v-fng'); | |
| el.textContent = v; | |
| el.style.color = v >= 55 ? '#4ade80' : (v <= 45 ? '#f87171' : '#f0b90b'); | |
| document.getElementById('d-fng').textContent = (f.classification || 'sentiment'); | |
| } | |
| var vx = p.vix || {}; | |
| if (vx && vx.value !== undefined) { | |
| var vv = Number(vx.value); | |
| var elv = document.getElementById('v-vix'); | |
| elv.textContent = vv.toFixed(2); | |
| elv.style.color = vv >= 25 ? '#f87171' : (vv <= 18 ? '#4ade80' : '#f0b90b'); | |
| } | |
| var tr = p.treasury || {}; | |
| if (tr && tr.current !== undefined) { | |
| document.getElementById('v-tsyy').textContent = Number(tr.current).toFixed(2) + '%'; | |
| } | |
| }).catch(function () {}); | |
| </script> | |
| <!--Start of Tawk.to Script--> | |
| <script type="text/javascript"> | |
| var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); | |
| (function(){ | |
| var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; | |
| s1.async=true; | |
| s1.src='https://embed.tawk.to/6ad326872ab00434d21793a2/1k54ic9h0'; | |
| s1.charset='UTF-8'; | |
| s1.setAttribute('crossorigin','*'); | |
| s0.parentNode.insertBefore(s1,s0); | |
| })(); | |
| </script> | |
| <!--End of Tawk.to Script--> | |
| </body> | |
| </html> | |