polymarket-candle-doji-breakout-trader

Detects 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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "polymarket-candle-doji-breakout-trader" with this command: npx skills add Diagnostikon/vpolymarket-candle-doji-breakout-trader

Candle -- Doji Breakout Trader

This 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.

Strategy Overview

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.

Edge

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:

  1. Doji = temporary pause, not reversal -- when a coin trends UP for 3 intervals then prints a doji (48-52%), retail participants read this as "the move is over" and price the next interval near 50%. But the underlying trend momentum typically resumes.
  2. Market mispricing of continuation -- the post-doji interval is systematically underpriced for continuation because participants anchor on the doji's neutrality rather than the preceding trend.
  3. Candlestick pattern validity -- doji-after-trend is one of the most robust patterns in technical analysis, documented across equities, forex, and crypto on multiple timeframes.
  4. Bundle independence -- each 5-minute interval resolves independently; the doji's neutral price does not mechanically prevent the next interval from continuing the trend.

Signal Logic

  1. Discover crypto interval markets via keyword search (Bitcoin Up or Down, Ethereum Up or Down, Solana Up or Down, XRP Up or Down) with a get_markets(limit=200) fallback
  2. Parse each question to extract (coin, date, start_time_minutes, end_time_minutes) using regex
  3. Group intervals by (coin, date) and sort by time
  4. Classify each interval: UP if p > 0.55, DOWN if p < 0.45, NEUTRAL if 0.45-0.55
  5. Scan for doji intervals (p between 48-52%, tunable via SIMMER_DOJI_RANGE)
  6. Check the TREND_LENGTH intervals before each doji -- if ALL show the same direction (all UP or all DOWN), the post-doji interval is a breakout target
  7. Trade the post-doji interval:
    • Pre-doji trend = UP and post-doji priced < YES_THRESHOLD -> buy YES (breakout not priced in)
    • Pre-doji trend = DOWN and post-doji priced > NO_THRESHOLD -> buy NO (breakout not priced in)
  8. Size by conviction (distance from threshold), not flat amount

Remix Signal Ideas

  • Volume-weighted doji detection -- require the doji interval to have above-average trading volume for a stronger signal; low-volume dojis are less meaningful
  • Multi-timeframe confirmation -- check if the trend also holds on a 15-minute or 1-hour timeframe before trading the breakout
  • Order book imbalance -- use Polymarket order book depth to detect hidden buying/selling pressure during the doji interval
  • Cross-coin doji sync -- if BTC prints a doji while ETH/SOL are still trending, the breakout signal is stronger (BTC leads)
  • Volatility filter -- skip doji patterns during low-volatility regimes where breakouts are weaker and less profitable

Safety & Execution Mode

The skill defaults to paper trading (venue="sim"). Real trades only with --live flag.

ScenarioModeFinancial risk
python trader.pyPaper (sim)None
Cron / automatonPaper (sim)None
python trader.py --liveLive (polymarket)Real USDC

autostart: false and cron: null mean nothing runs automatically until configured in Simmer UI.

Required Credentials

VariableRequiredNotes
SIMMER_API_KEYYesTrading authority. Treat as a high-value credential.

Tunables (Risk Parameters)

All declared as tunables in clawhub.json and adjustable from the Simmer UI.

VariableDefaultPurpose
SIMMER_MAX_POSITION40Max USDC per trade at full conviction
SIMMER_MIN_TRADE5Floor for any trade (min USDC regardless of conviction)
SIMMER_MIN_VOLUME3000Min market volume filter (USD)
SIMMER_MAX_SPREAD0.10Max bid-ask spread
SIMMER_MIN_DAYS1Min days until resolution
SIMMER_MAX_POSITIONS10Max concurrent open positions
SIMMER_YES_THRESHOLD0.38Buy YES only if market probability <= this
SIMMER_NO_THRESHOLD0.62Sell NO only if market probability >= this
SIMMER_DOJI_RANGE0.02Half-width of doji zone around 50% (48-52% by default)
SIMMER_TREND_LENGTH3Min consecutive same-direction intervals before doji to qualify as trend

Edge Thesis

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.

Dependency

simmer-sdk by Simmer Markets (SpartanLabsXyz)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

Pilot Service Agents Finance

Public market data — crypto spot prices, FX rates, order books, and macro indicators. Use this skill when: 1. Looking up current crypto spot prices (Coinbase...

Registry SourceRecently Updated
Web3

Seven Eleven

Analyze 7-Eleven's global retail model, franchise profit sharing, fresh food supply chain, and Japanese vs Western convenience store strategies.

Registry SourceRecently Updated
240Profile unavailable
Web3

Performance Budget Enforcer

Define, measure, and enforce web performance budgets — bundle sizes, asset counts, image weights, third-party scripts. Fails CI when budgets are exceeded. Tr...

Registry SourceRecently Updated
340Profile unavailable
Web3

Patron

Patrón redefined tequila as a premium spirit by combining high-quality production and luxury branding, transforming it from cheap liquor to a $50+ iconic pro...

Registry SourceRecently Updated
350Profile unavailable