By Shakti Tiwari — AI practitioner, crypto & markets analyst
On-chain guide. Not financial advice.
Research note: metrics defined via public crypto literature, 25 Jul 2026.
1. Price Charts Lie, Chains Don't
BTC trades 24/7, manipulated by leverage. But on-chain data is immutable — every coin move is recorded. That's your edge.
2. MVRV (Market Value to Realized Value)
- Market cap = price × supply
- Realized cap = sum of each coin at last moved price
- MVRV = market / realized
Signal:
- MVRV > 3.5 → overheated (2017, 2021 tops)
- MVRV < 1 → capitulation (buy zone)
It shows if holders are in profit (likely to sell) or loss (hold).
3. NUPL (Net Unrealized Profit/Loss)
NUPL = (market cap − realized cap) / market cap.
- > 0.75 → euphoria (top risk)
- 0 to 0.25 → hope/fear (neutral)
- < 0 → capitulation
Cleaner than MVRV for zones.
4. SOPR (Spent Output Profit Ratio)
SOPR = value sold / value bought (at move time).
- SOPR > 1 → sellers in profit (bearish pressure)
- SOPR < 1 → sellers at loss (capitulation)
Realized-cap adjusted version removes long-term noise.
5. HODL Waves
Groups coins by age last moved:
- Young coins ( < 3m) rising → new buyers (top signal)
- Old coins ( > 1y) moving → smart money distribution
Watch the 1y+ band.
6. Realized Cap
Unlike market cap (volatile), realized cap is sticky. When price < realized → aggregate loss → bottoming.
7. Free Data (No Paywall)
- Public RPC nodes
- Blockchain explorers (free API tier)
- Glassnode free metrics (limited)
import requests
# example: fetch realized cap via public endpoint
r = requests.get("https://api.blockchain.info/charts/realized-cap?format=json")
8. Building an On-Chain AI
- Features: MVRV, NUPL, SOPR, HODL%
- Target: 30d forward return
- Model: XGBoost + walk-forward
- Alert: Telegram when MVRV > 3.5
9. Pitfalls
- Metrics lag (realized cap slow)
- Exchange wallets distort
- Narratives override signals short-term
10. The Stack
- DuckDB for storage
- Python fetch (free RPC)
- XGBoost model
- Termux cron
- Telegram
FAQ
Q: Free?
A: Yes, public RPC.
Q: Better than TA?
A: Different lens. Use both.
Q: Advice?
A: Education only.
About
Shakti Tiwari, crypto & AI analyst. Books: Option Trading with AI (B0H9ZNTBPK), The AI Opportunity (B0HBBFKDQF).
🌐 optiontradingwithai.in
📧 shaktitiwari715@gmail.com
🐦 X | ▶️ YouTube | 💼 LinkedIn | 💻 GitHub | 📝 Dev.to
Disclaimer: Not financial advice.
Top comments (0)