Install
openclaw skills install @diagnostikon/polymarket-candle-doji-breakout-traderDetects doji patterns (48-52% probability) in crypto 5-minute interval markets on Polymarket and trades the post-doji breakout in the direction of the pre-doji trend. In candlestick analysis a doji after a directional trend signals indecision before a breakout -- the next interval tends to continue the prior trend direction. Targets BTC, ETH, SOL, and XRP Up or Down bundles with conviction-based position sizing.
openclaw skills install @diagnostikon/polymarket-candle-doji-breakout-traderThis is a template. The default signal detects doji patterns in crypto 5-minute interval markets and trades the post-doji breakout using conviction-based sizing. The skill handles all the plumbing (interval parsing, doji detection, trend analysis, 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. A doji is a 5-minute interval where probability sits at 48-52% -- zero directional conviction. In candlestick analysis, a doji appearing after a clear directional trend (2-3 consecutive UP or DOWN intervals) signals indecision before a breakout. The next interval after the doji tends to break out strongly, continuing the pre-doji trend direction, because the underlying momentum has only paused -- not reversed.
Unlike a generic mean-reversion or momentum strategy, the doji breakout specifically targets the transition from indecision back to trend continuation. 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) fallbackSIMMER_DOJI_RANGE)TREND_LENGTH intervals before each doji -- if ALL show the same direction (all UP or all DOWN), the post-doji interval is a breakout targetThe 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_DOJI_RANGE | 0.02 | Half-width of doji zone around 50% (48-52% by default) |
SIMMER_TREND_LENGTH | 3 | Min consecutive same-direction intervals before doji to qualify as trend |
Crypto 5-minute interval markets on Polymarket exhibit a systematic mispricing after doji patterns. When a coin trends in one direction for 2-3 intervals then prints a doji (48-52% probability), the market prices the post-doji interval near 50% -- interpreting the doji as trend exhaustion. In reality, the doji represents a temporary pause in an ongoing trend; the next interval continues the pre-doji direction more often than the market implies. This is the classic doji-breakout pattern from candlestick analysis, adapted to Polymarket's 5-minute interval structure. The skill exploits this gap with conviction-based sizing that scales with the distance from the trading threshold.
simmer-sdk by Simmer Markets (SpartanLabsXyz)