Install
openclaw skills install polymarket-thesis-traderScan Polymarket markets for a configurable thesis, compare your probability to the market price, and trade only when the edge clears a safety threshold.
openclaw skills install polymarket-thesis-traderThis is a template. The default signal is a user-supplied thesis probability for markets matching a query string. Remix it with your own model, news feed, research pipeline, or alternative market-selection logic. The skill handles market discovery, context checks, execution tags, dry-run safety, and operator summaries.
This skill searches Polymarket for markets matching a thesis query such as bitcoin,
fed, or election, then compares your fair probability to the current market price.
If the gap exceeds the configured minimum edge, it proposes or executes a trade.
Default behavior:
fair_value - yes_price for YES trades or (1 - fair_value) - no_price for NO trades.--live is passed.source and skill_slug.The entrypoint accepts CLI flags or environment variables:
--query or MARKET_QUERY: Search term for market discovery.--thesis-probability or THESIS_PROBABILITY: Your fair probability from 0 to 1.--min-edge or MIN_EDGE: Minimum required edge before trading.--trade-amount or TRADE_AMOUNT_USD: Position size per trade.--limit or MARKET_LIMIT: Max markets to scan.--live or RUN_LIVE=true: Enable real trading.Dry-run:
python trade_thesis.py --query bitcoin --thesis-probability 0.62
Live trading:
python trade_thesis.py --query bitcoin --thesis-probability 0.62 --min-edge 0.08 --trade-amount 5 --live
Environment-driven run:
export AION_API_KEY=your_api_key
export MARKET_QUERY=bitcoin
export THESIS_PROBABILITY=0.62
python trade_thesis.py
AION_API_KEY: Required for market reads and trade execution.get_briefing() opportunity markets instead of query search.From inside this skill folder:
npx clawhub@latest publish . --slug polymarket-thesis-trader --version 1.0.0
Then verify installation:
npx clawhub@latest install polymarket-thesis-trader