
How to Build a Crypto Volume Alert Bot for Nostr in Python
I just built a bot that posts crypto volume anomalies to Nostr every 2 hours. Here's the complete code. Why Volume Anomalies? When a token's trading volume spikes relative to its market cap, it often signals something interesting — a pump, dump, listing, or whale activity. A vol/mcap ratio above 2x is unusual. Above 10x is extreme. The API CryptoVolumeScanner provides free, real-time volume anomaly data. No auth required. curl https://frog03-20494.wykr.es/api/signals Returns JSON with symbol, price, volume, market_cap, vol_mcap_ratio, and 24h change. The Bot (30 lines) import json , time , hashlib , subprocess , websocket from coincurve import PrivateKey def get_signals (): import subprocess r = subprocess . run ([ ' curl ' , ' -sL ' , ' https://frog03-20494.wykr.es/api/signals ' , ' -H ' , ' User-Agent: Mozilla/5.0 ' , ' --max-time ' , ' 8 ' ], capture_output = True , text = True ) return json . loads ( r . stdout ). get ( ' signals ' , [])[: 5 ] keys = json . load ( open ( ' keys.jso
Continue reading on Dev.to Tutorial
Opens in a new tab

