polymarket-twitter-cadence-model-trader

Trades post-count bin markets using a Poisson statistical model to predict the most likely bins based on historical posting rates. Requires SIMMER_API_KEY and simmer-sdk. Use when you want to price Twitter post-count bins with math instead of gut feeling.

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-twitter-cadence-model-trader" with this command: npx skills add Diagnostikon/polymarket-twitter-cadence-model-trader

Twitter Cadence Model Trader

This is a template.
The default signal is a Poisson model based on historical posting rates — remix it with Twitter/X API v2 real-time post counts, time-of-day distributions, or NLP topic-burst detection.
The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.

Strategy Overview

Post-count bin markets (e.g., "Will Elon Musk post 190-214 tweets from March 30 to April 1?") are perfect for statistical modeling because the number of posts in a time interval follows a Poisson distribution.

Retail traders price these bins by gut feeling. This skill prices them with math.

Signal Logic

Poisson Model

  1. Parse the person, bin range, and time period from the market question
  2. Compute lambda = person's historical daily rate x period days
  3. Calculate P(bin) = sum of Poisson PMF from bin_lower to bin_upper
  4. Compare model probability to market price
  5. Trade when model diverges from market AND price is in threshold band

Person Baselines

PersonDaily RatePlatform
Elon Musk~65 tweets/dayX/Twitter
Donald Trump~23 posts/dayTruth Social
Vitalik Buterin~8 posts/dayX/Twitter
CZ~12 posts/dayX/Twitter

Model Bias

The Poisson model acts as a conviction multiplier:

  • If model says bin is 2x more likely than market → 2x conviction boost
  • If model says bin is 0.5x less likely → signal vetoed (don't trade against math)

Remix Ideas

  • Twitter API v2: Replace baseline daily_rate with real-time 7-day rolling average
  • Time-of-day model: Elon posts 60% of tweets between 6PM-2AM Pacific — use hourly Poisson
  • Negative binomial: Better than Poisson for overdispersed counts (bursty posters)
  • Topic burst NLP: Detect thread-mode (3x rate) vs normal mode

Risk Parameters

ParameterDefaultNotes
Max position size$40 USDCPer market
Min market volume$1,000Standard filter
Max bid-ask spread10%Default threshold
Min days to resolution0Post-count markets are short-lived
Max open positions8Diversify across bins

Installation & Setup

clawhub install polymarket-twitter-cadence-model-trader

Requires: SIMMER_API_KEY environment variable.

Cron Schedule

Cron is set to null — the skill does not run on a schedule until you configure it in the Simmer UI.

Safety & Execution Mode

The skill defaults to paper trading (venue="sim"). Real trades only execute when --live is passed explicitly.

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

The automaton cron is set to null — it does not run on a schedule until you configure it in the Simmer UI. autostart: false means it won't start automatically on install.

Required Credentials

VariableRequiredNotes
SIMMER_API_KEYYesTrading authority — keep this credential private. Do not place a live-capable key in any environment where automated code could call --live.

Tunables (Risk Parameters)

All risk parameters are declared in clawhub.json as tunables and adjustable from the Simmer UI without code changes. They use SIMMER_-prefixed env vars so apply_skill_config() can load them securely.

VariableDefaultPurpose
SIMMER_MAX_POSITION40Max USDC per trade (reached at 100% conviction)
SIMMER_MIN_VOLUME1000Min market volume filter (USD)
SIMMER_MAX_SPREAD0.10Max bid-ask spread (0.10 = 10%)
SIMMER_MIN_DAYS0Min days until market resolves
SIMMER_MAX_POSITIONS8Max concurrent open positions
SIMMER_YES_THRESHOLD0.38Buy YES if market price ≤ this value
SIMMER_NO_THRESHOLD0.62Sell NO if market price ≥ this value
SIMMER_MIN_TRADE5Floor for any trade (min USDC regardless of conviction)

Dependency

simmer-sdk is published on PyPI by Simmer Markets.

Review the source before providing live credentials if you require full auditability.

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.

General

通义晓蜜 - 智能外呼

触发阿里云晓蜜外呼机器人任务,自动批量拨打电话。适用于批量外呼、客户回访、满意度调查、简历筛查约面试等场景。可从前置工具或节点获取外呼名单。

Registry SourceRecently Updated
General

Letterboxd Watchlist

Scrape a public Letterboxd user's watchlist into a CSV/JSONL list of titles and film URLs without logging in. Use when a user asks to export, scrape, or mirror a Letterboxd watchlist, or to build watch-next queues.

Registry SourceRecently Updated
General

Seedance Video Generation

Generate AI videos using ByteDance Seedance. Use when the user wants to: (1) generate videos from text prompts, (2) generate videos from images (first frame, first+last frame, reference images), or (3) query/manage video generation tasks. Supports Seedance 1.5 Pro (with audio), 1.0 Pro, 1.0 Pro Fast, and 1.0 Lite models.

Registry SourceRecently Updated
4.2K17jackycser
General

Universal Skills Manager

The master coordinator for AI skills. Discovers skills from multiple sources (SkillsMP.com, SkillHub, and ClawHub), manages installation, and synchronization...

Registry SourceRecently Updated