polymarket-elon-tweets
БесплатноЗапускает вложенные скриптыНе проверенTrade Polymarket "Elon Musk # tweets" markets, check XTracker pace, monitor tweet-market positions, or configure bucket spreads and entry thresholds. Buys…
от SpartanLabsXyz★ 57 звёзд на GitHubОб этом скилле
Polymarket Elon Tweet Trader
Trade "Elon Musk # tweets" markets on Polymarket using XTracker post count data.
🚨 Framework, not a production trading system. Read DISCLAIMER.md before connecting to a wallet with real funds.
How the Strategy Works
Polymarket runs weekly "How many tweets will Elon post?" events with range buckets (e.g., 200-219, 220-239, 240-259). Exactly one bucket resolves YES = $1. The strategy:
- Get XTracker pace — XTracker tracks Elon's real-time post count and projects the final total
- Find center bucket — The bucket containing XTracker's projected pace
- Buy adjacent buckets — Buy the center + neighbors (configurable spread)
- Check combined cost — Only buy if the sum of bucket prices < $1 (the +EV threshold)
- One bucket pays $1 — When the event resolves, one of your buckets pays $1, covering costs
Setup Flow
When user asks to install or configure this skill:
Install the Simmer SDK
pip install simmer-sdkAsk for Simmer API key
- They can get it from simmer.markets/dashboard → SDK tab
- Store in environment as
SIMMER_API_KEY
Ask for wallet private key (required for live trading)
- This is the private key for their Polymarket wallet (the wallet that holds USDC)
- Store in environment as
WALLET_PRIVATE_KEY - The SDK uses this to sign orders client-side automatically — no manual signing needed
Ask about settings (or confirm defaults)
- Max bucket sum: Combined price threshold (default 90¢)
- Max position: Amount per bucket (default $5.00)
- Bucket spread: How many neighbors to buy (default 1 = center ± 1)
- Exit threshold: When to sell (default 65¢)
Save settings to config.json or environment variables
Set up cron (disabled by default — user must enable scheduling)
Configuration
| Setting | Env Variable | Config Key | Default | Description |
|---|---|---|---|---|
| Max bucket sum | SIMMER_ELON_MAX_BUCKET_SUM |
max_bucket_sum |
0.90 | Only buy if cluster prices sum < this |
| Max position | SIMMER_ELON_MAX_POSITION_USD |
max_position_usd |
5.00 | Maximum USD per bucket |
| Bucket spread | SIMMER_ELON_BUCKET_SPREAD |
bucket_spread |
1 | Neighbors on each side (1 = 3 buckets) |
| Smart sizing % | SIMMER_ELON_SIZING_PCT |
sizing_pct |
0.05 | % of balance per trade |
| Max trades/run | SIMMER_ELON_MAX_TRADES_PER_RUN |
max_trades_per_run |
6 | Maximum trades per scan cycle |
| Exit threshold | SIMMER_ELON_EXIT_THRESHOLD |
exit_threshold |
0.65 | Sell when bucket price above this |
| Slippage max | SIMMER_ELON_SLIPPAGE_BPS |
slippage_max_bps |
100 | Skip trade if slippage exceeds this (basis points, e.g. 100 = 1%) |
| Min position | SIMMER_ELON_MIN_POSITION |
min_position_usd |
2.00 | Floor for smart sizing (USD) |
| Data source | SIMMER_ELON_DATA_SOURCE |
data_source |
xtracker | Data source (xtracker) |
| Order type | SIMMER_ELON_ORDER_TYPE |
order_type |
GTC | Order type: GTC (good-til-cancelled) or FAK (fill-and-kill) |
Config priority: env vars > config.json > defaults.
Quick Commands
# Check account balance and positions
python scripts/status.py
# Detailed position list
python scripts/status.py --positions
API Reference:
- Base URL:
https://api.simmer.markets - Auth:
Authorization: Bearer $SIMMER_API_KEY - Portfolio:
GET /api/sdk/portfolio - Positions:
GET /api/sdk/positions
Running the Skill
# Dry run (default — shows opportunities, no trades)
python elon_tweets.py
# Execute real trades
python elon_tweets.py --live
# With smart position sizing (uses portfolio balance)
python elon_tweets.py --live --smart-sizing
# Show XTracker stats only
python elon_tweets.py --stats
# Check positions only
python elon_tweets.py --positions
# View config
python elon_tweets.py --config
# Update config
python elon_tweets.py --set max_position_usd=10.00
# Disable safeguards (not recommended)
python elon_tweets.py --no-safeguards
# Quiet mode — only output on trades/errors (ideal for cron)
python elon_tweets.py --live --quiet
# Combine: frequent scanning, minimal noise
python elon_tweets.py --live --smart-sizing --quiet
How It Works
Each cycle the script:
- Fetches active XTracker trackings for Elon Musk tweet events
- Gets real-time stats: current count, projected pace, days remaining
- Searches Simmer for matching tweet count markets (auto-imports if missing)
- Finds the bucket matching XTracker's pace projection
- Evaluates adjacent buckets (center ± spread)
- Entry: If sum of cluster prices < max_bucket_sum → BUY each bucket
- Exit: Checks open positions, sells if any bucket price > exit_threshold
- Safeguards: Checks context for flip-flop warnings, slippage
- Tagging: All trades tagged with
sdk:elon-tweetsfor tracking
Auto-Import
If tweet count markets aren't on
Установить polymarket-elon-tweets в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл polymarket-elon-tweets?
Trade Polymarket "Elon Musk # tweets" markets, check XTracker pace, monitor tweet-market positions, or configure bucket spreads and entry thresholds. Buys adjacent range buckets when combined cost < $1 for structural edge.
Как установить скилл polymarket-elon-tweets?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл polymarket-elon-tweets запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub