🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Polymarket Fast Loop

by @richducat

Trade Polymarket BTC 5-minute and 15-minute fast markets using CEX price momentum signals via Simmer API. Default signal is Binance BTC/USDT klines. Use when...

πŸ’‘ Examples

# Set your API key
export SIMMER_API_KEY="your-key-here"

Dry run β€” see what would happen

python fastloop_trader.py

Go live

python fastloop_trader.py --live

Live + quiet (for cron/heartbeat loops)

python fastloop_trader.py --live --quiet

Live + smart sizing (5% of balance per trade)

python fastloop_trader.py --live --smart-sizing --quiet

βš™οΈ Configuration

Configure via config.json, environment variables, or --set:

# Change entry threshold
python fastloop_trader.py --set entry_threshold=0.08

Trade ETH instead of BTC

python fastloop_trader.py --set asset=ETH

Multiple settings

python fastloop_trader.py --set min_momentum_pct=0.3 --set max_position=10

Settings

| Setting | Default | Env Var | Description | |---------|---------|---------|-------------| | entry_threshold | 0.05 | SIMMER_SPRINT_ENTRY | Min price divergence from 50Β’ to trigger | | min_momentum_pct | 0.5 | SIMMER_SPRINT_MOMENTUM | Min BTC % move to trigger | | max_position | 5.0 | SIMMER_SPRINT_MAX_POSITION | Max $ per trade | | signal_source | binance | SIMMER_SPRINT_SIGNAL | Price feed (binance, coingecko) | | lookback_minutes | 5 | SIMMER_SPRINT_LOOKBACK | Minutes of price history | | min_time_remaining | 60 | SIMMER_SPRINT_MIN_TIME | Skip fast markets with less time left (seconds) | | asset | BTC | SIMMER_SPRINT_ASSET | Asset to trade (BTC, ETH, SOL) | | window | 5m | SIMMER_SPRINT_WINDOW | Market window duration (5m or 15m) | | volume_confidence | true | SIMMER_SPRINT_VOL_CONF | Weight signal by Binance volume |

Example config.json

{
  "entry_threshold": 0.08,
  "min_momentum_pct": 0.3,
  "max_position": 10.0,
  "asset": "BTC",
  "window": "5m",
  "signal_source": "binance"
}

πŸ“‹ Tips & Best Practices

"No active fast markets found"

  • Fast markets may not be running (off-hours, weekends)
  • Check Polymarket directly for active BTC fast markets
  • "No fast markets with >60s remaining"

  • Current window is about to expire, next one isn't live yet
  • Reduce min_time_remaining if you want to trade closer to expiry
  • "Import failed: Rate limit exceeded"

  • Free tier: 10 imports/day. Pro: 50/day
  • Fast market trading needs Pro for reasonable frequency
  • "Failed to fetch price data"

  • Binance API may be down or rate limited
  • Try --set signal_source=coingecko as fallback
  • "Trade failed: no liquidity"

  • Fast market has thin book, try smaller position size
  • "External wallet requires a pre-signed order"

  • WALLET_PRIVATE_KEY is not set in the environment
  • The SDK signs orders automatically when this env var is present β€” no manual signing code needed
  • Fix: export WALLET_PRIVATE_KEY=0x
  • Do NOT attempt to sign orders manually or modify the skill code β€” the SDK handles it
  • "Balance shows $0 but I have USDC on Polygon"

  • Polymarket uses USDC.e (bridged USDC, contract 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174) β€” not native USDC
  • If you bridged USDC to Polygon recently, you likely received native USDC
  • Swap native USDC to USDC.e, then retry
  • View on ClawHub
    TERMINAL
    clawhub install dolph-fast-loop

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’