Install
openclaw skills install polymarket-candle-three-soldiers-traderTrades crypto "Up or Down" 5-minute interval markets on Polymarket by detecting Three White Soldiers (3+ consecutive strong UP intervals all p>0.57) and Three Black Crows (3+ consecutive strong DOWN intervals all p<0.43). Classic candlestick continuation patterns -- when the NEXT interval lags behind the established trend, there is edge in buying the continuation direction. Conviction scales with the lag distance from the trend.
openclaw skills install polymarket-candle-three-soldiers-traderThis is a template. The default signal detects Three White Soldiers and Three Black Crows patterns in crypto 5-min interval markets and trades continuation on lagging intervals -- remix it with volume confirmation, real-time price feeds, or volatility filters. The skill handles all the plumbing (market discovery, interval parsing, pattern detection, trade execution, safeguards). Your agent provides the alpha.
Polymarket lists hundreds of live crypto "Up or Down" 5-minute interval markets per day across Bitcoin, Ethereum, and Solana. Each asks whether a coin will go up or down in a specific 5-minute window (e.g. "Bitcoin Up or Down - March 29, 10:50AM-10:55AM ET").
"Three White Soldiers" is a classic candlestick continuation pattern: three consecutive intervals all showing strong UP bias (p > 0.57). When this pattern appears but the NEXT interval hasn't caught up yet (p < 0.55), the continuation hasn't been fully priced in. "Three Black Crows" is the bearish mirror: three consecutive strong DOWN intervals (p < 0.43), and the next interval hasn't caught down (p > 0.45).
The skill detects these patterns, identifies lagging next intervals, and trades the continuation direction with conviction scaled by the lag distance.
Three consecutive strong-bias intervals establish a micro-trend that tends to persist one more interval:
get_markets(limit=200) fallbackSOLDIER_THRESHOLD (default 0.57) or ALL < (1 - 0.57 = 0.43)max(MIN_TRADE, conviction * MAX_POSITION)The 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 |
SIMMER_MIN_VOLUME | 3000 | Min market volume filter (USD) |
SIMMER_MAX_SPREAD | 0.08 | Max bid-ask spread |
SIMMER_MIN_DAYS | 0 | Min days until resolution (0 = allow same-session) |
SIMMER_MAX_POSITIONS | 8 | 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_SOLDIER_THRESHOLD | 0.57 | Min probability for a strong UP interval (crows = 1 - this) |
Candlestick continuation patterns work because they identify intervals where a micro-trend has established but hasn't fully propagated to adjacent intervals. Three consecutive strong-bias intervals are statistically significant -- they represent genuine directional momentum rather than noise. Polymarket's interval pricing is somewhat independent across adjacent windows, meaning a strong trend in intervals N, N+1, N+2 doesn't automatically get priced into interval N+3. This lag creates a window where the continuation trade has positive expected value. The skill exploits this structural inefficiency in how Polymarket participants price sequential interval markets.
simmer-sdk by Simmer Markets (SpartanLabsXyz)