Polymarket Clob Microstructure

v2.0.4

Analyzes Polymarket CLOB order book microstructure to find structural inefficiencies. Scores markets 0-100 on liquidity gaps, order book imbalance, whale act...

0· 194·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for mibayy/polymarket-clob-microstructure.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Polymarket Clob Microstructure" (mibayy/polymarket-clob-microstructure) from ClawHub.
Skill page: https://clawhub.ai/mibayy/polymarket-clob-microstructure
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install polymarket-clob-microstructure

ClawHub CLI

Package manager switcher

npx clawhub@latest install polymarket-clob-microstructure
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description, SKILL.md, clawhub.json, and the Python code all align: the script fetches order books and trades from Polymarket endpoints and uses simmer_sdk to place trades. Required pip packages (simmer-sdk, requests) and the SIMMER_API_KEY credential are proportionate to the claimed functionality.
Instruction Scope
SKILL.md and the code limit actions to fetching order books/trades from polymarket domains and interacting with SimmerClient. The script defaults to dry-run and only executes real trades when run with --live. No instructions ask the agent to read unrelated system files or exfiltrate data.
Install Mechanism
There is no arbitrary download/install URL; dependencies are standard pip packages (simmer-sdk, requests). Installing pip packages is normal but carries moderate risk if packages are unvetted—pin versions and audit packages when possible.
Credentials
Only SIMMER_API_KEY (and optional env vars for tuning) are required. This is appropriate for a trading bot, but SIMMER_API_KEY is powerful (it can authorize trades). Ensure you understand and limit the API key's permissions and use dry-run before enabling live trading.
Persistence & Privilege
The skill is not forced-always, does not request system-wide privileges, and does not modify other skills. It is scheduled via cron in metadata (*/5 minutes) which matches the documented behavior.
Assessment
This skill appears to do what it says: analyze Polymarket order books and (if you opt in) place fade trades via your Simmer account. Before installing: (1) review and test in dry-run mode; (2) only provide a SIMMER_API_KEY with minimal required permissions and consider creating a restricted/trading-limited key; (3) pin and audit the pip dependencies (simmer-sdk, requests) before installing; (4) verify cron schedule and MAX_TRADES/CLOB_TRADE_SIZE environment variables to limit loss exposure; (5) inspect the full script for any parts you want to adjust (trade sizing, skip rules, thresholds) before enabling --live.

Like a lobster shell, security has layers — review code before you run it.

latestvk972mfvttnqve9dw06d1rpazbd839xfk
194downloads
0stars
9versions
Updated 1mo ago
v2.0.4
MIT-0

CLOB Microstructure Scanner

Structural alpha from Polymarket order book analysis. Nobody else on Simmer does this.

What It Does

Pulls raw order book data from Polymarket's CLOB API and scores each market on four microstructure dimensions:

DimensionWhat It Measures
Liquidity GapsThin zones in the book where price can jump
Order Book ImbalanceBid vs ask weight asymmetry
Whale ActivityLarge single orders relative to book depth
Fake Breakout DetectionSudden moves on thin volume that revert

Each dimension scores 0-25, combined into a 0-100 inefficiency score.

Signals

  • ENTRY_OK — Normal conditions, standard sizing
  • REDUCE_SIZE — Elevated microstructure risk, cut position size
  • SKIP — Too dangerous, stay out
  • MEAN_REVERT — Fake breakout detected, fade the move

The bot only trades on MEAN_REVERT signals, fading fake breakouts via SimmerClient.

Configuration

  • Runs every 5 minutes via cron
  • Defaults to dry-run; pass --live for real execution
  • Requires SIMMER_API_KEY environment variable

Usage

# Dry run (default)
python clob_microstructure.py

# Live trading
python clob_microstructure.py --live

# Quiet mode for cron
python clob_microstructure.py --live --quiet

🧪 Remixable Template — Fork this skill and tweak the scoring weights, signal thresholds, or add your own microstructure indicators. The modular scoring system makes it easy to extend.

Comments

Loading comments...