Install
openclaw skills install polymarket-mean-reversion-proGenerates zero-false mean reversion signals on Polymarket using 4σ price moves with RSI, MACD divergence, ATR compression, and VPIN flow filters.
openclaw skills install polymarket-mean-reversion-proAdvanced mean reversion signal engine for Polymarket. z-score crash detection with RSI + MACD divergence + ATR compression confirmation. Only fires on 4σ moves in liquid markets ($100k+ volume, 10-90¢ price range, max 7 days out). Zero false signals.
| Filter | Value | Reason |
|---|---|---|
| Min daily volume | $100k | Liquidity requirement |
| Price range | 10¢–90¢ | Avoid lottery tickets & certainties |
| Time to resolution | 6h–168h | No day-ofs or macro bets |
| z-score threshold | ±4.0σ | Zero false signals |
| VPIN | < 0.60 | Skip if informed flow detected |
BUY YES (crash): z < -4.0 + RSI < 40 + MACD bullish divergence + ATR compressed BUY NO (spike): z > +4.0 + RSI > 60 + MACD bearish divergence + ATR compressed
pip install requests boto3
Configure environment variables (or .env file in same directory):
PRIVATE_KEY=your_polygon_private_key
WALLET_ADDRESS=0xYourWallet
TELEGRAM_BOT_TOKEN=your_bot_token # optional
TELEGRAM_CHAT_ID=your_chat_id # optional
# Run once
python3 mean_reversion.py
# Dry run (show signals, no execution)
python3 mean_reversion.py --dry-run
# Watch mode (runs every 30 min)
python3 mean_reversion.py --watch
# Watch mode dry run
python3 mean_reversion.py --watch --dry-run
vpin.py for toxic flow detection (optional, falls back to 0.5)requests libraryboto3 (for SQS, optional)py_clob_client (for execution)The 7-day history must accumulate before signals fire (24+ data points needed). In watch mode, signals start appearing after ~12 hours of data collection.