Install
openclaw skills install @diagnostikon/polymarket-candle-engulfing-reversal-traderDetects engulfing reversal patterns in crypto 5-minute interval markets on Polymarket. A bullish engulfing occurs when an interval completely reverses the prior interval with stronger conviction -- signaling a powerful reversal that the next interval should continue. Targets BTC, ETH, SOL, and XRP Up or Down bundles with conviction-based position sizing.
openclaw skills install @diagnostikon/polymarket-candle-engulfing-reversal-traderThis is a template. The default signal detects engulfing reversal patterns in crypto 5-minute interval markets and trades the post-engulfing continuation using conviction-based sizing. The skill handles all the plumbing (interval parsing, engulfing detection, trade execution, safeguards). Your agent provides the alpha.
Polymarket lists 5-minute interval markets for BTC, ETH, SOL, and XRP: "Will Bitcoin be Up or Down in the 10:50AM-10:55AM ET interval?" These resolve to YES (up) or NO (down) based on the actual price movement. An engulfing pattern occurs when one interval completely reverses the prior interval with stronger conviction. If interval N was DOWN (p=42%) and interval N+1 is UP (p=58%), and the UP move is larger than the DOWN move, that is a bullish engulfing -- one of the strongest reversal signals in candlestick analysis. The NEXT interval after the engulfing pair should continue the reversal direction.
Unlike momentum or mean-reversion strategies that look at extended streaks, the engulfing pattern targets a specific two-bar structure that signals a decisive shift in market sentiment. The edge arises because:
Bitcoin Up or Down, Ethereum Up or Down, Solana Up or Down, XRP Up or Down) with a get_markets(limit=200) fallbackENGULF_THRESHOLDENGULF_THRESHOLDThe skill defaults to paper trading (venue="sim"). Real trades only with --live flag.
| Scenario | Mode | Financial risk |
|---|---|---|
python trader.py | Paper (sim) | None |
| Cron / automaton | Paper (sim) | None |
python trader.py --live | Live (polymarket) | Real USDC |
autostart: false and cron: null mean nothing runs automatically until configured in Simmer UI.
| Variable | Required | Notes |
|---|---|---|
SIMMER_API_KEY | Yes | Trading authority. Treat as a high-value credential. |
All declared as tunables in clawhub.json and adjustable from the Simmer UI.
| Variable | Default | Purpose |
|---|---|---|
SIMMER_MAX_POSITION | 40 | Max USDC per trade at full conviction |
SIMMER_MIN_TRADE | 5 | Floor for any trade (min USDC regardless of conviction) |
SIMMER_MIN_VOLUME | 3000 | Min market volume filter (USD) |
SIMMER_MAX_SPREAD | 0.10 | Max bid-ask spread |
SIMMER_MIN_DAYS | 1 | Min days until resolution |
SIMMER_MAX_POSITIONS | 10 | Max concurrent open positions |
SIMMER_YES_THRESHOLD | 0.38 | Buy YES only if market probability <= this |
SIMMER_NO_THRESHOLD | 0.62 | Sell NO only if market probability >= this |
SIMMER_ENGULF_THRESHOLD | 0.06 | Min conviction difference for engulfing pattern |
Crypto 5-minute interval markets on Polymarket exhibit a systematic mispricing after engulfing patterns. When a DOWN interval (p=42%) is followed by a stronger UP interval (p=58%), the post-engulfing interval is typically priced near 50% -- the market treats the reversal as uncertain. But the engulfing pattern, where the reversal exceeds the original move in magnitude, is one of the most reliable two-bar reversal signals in technical analysis. The conviction asymmetry (the new direction is stronger than the old) provides statistical evidence that the reversal will continue. This skill exploits the gap between the market-implied continuation probability and the pattern-implied probability, with conviction-based sizing that scales with the distance from the trading threshold.
simmer-sdk by Simmer Markets (SpartanLabsXyz)