Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →

agentmc15/polymarket-trader

3 skills2.4k installs72 starsGitHub

Install

npx skills add https://github.com/agentmc15/polymarket-trader

Skills in this repo

1Trading StrategiesThe trading-strategies skill framework for developing, testing, and deploying trading strategies for prediction markets. Use when creating new strategies, implementing signals, or building backtesting logic. Arbitrage Strategy ```python class ArbitrageStrategy(BaseStrategy): """Detect and exploit pricing inefficiencies.""" async def find_opportunities( self, markets: list[MarketState] ) -> list[Signal]: opportunities = [] # Check YES + NO > 1 (overpriced) for market in markets: total = market.yes_price + market.no_price if total > 1.02: # 2% threshold opportunities.append( self._create_arb_signal(market, "overpriced", total) ) # Check related markets opportunities.extend( await self._find_related_arbs(markets) ) return opportunities async def analyze(self, market: MarketState) -> Optional[Signal]: total = market.yes_price + market.no_price # Overpriced market (YES + NO > 1) if total > 1.0 + self.config.get("arb_threshold", 0.02): profit_pct = (total - 1.0) * 100 return Signal( type=SignalType.SELL, token_id=market.token_id, price=total, size=self.config.get("default_size", 100), confidence=min(profit_pct / 10, 1.0), timestamp=datetime.utcnow(), metadata={"arb_type": "overpriced",.1.2kinstalls2Polymarket ApiPolymarket API is a deep integration skill from the polymarket-trader repository covering Polymarket’s Central Limit Order Book API at https://clob.polymarket.com, the Gamma API for market metadata, and on-chain data reads for positions. Authentication is tiered: Level 0 public market data and orderbooks, Level 1 signer key derivation, and Level 2 authenticated trading with orders and positions. Endpoint guidance includes GET /markets and related trading routes with patterns for reliable market data fetching, order placement, and wallet-linked position tracking in agent code. Reach for Polymarket API when wiring a Rust, TypeScript, or Python bot to prediction markets, backfilling orderbook history, or hardening error handling around CLOB rate limits and signatures. Assumes crypto wallet and API key hygiene; not investment advice.937installs3Trader Analysistrader-analysis is a Polymarket-focused agent skill in agentmc15/polymarket-trader that teaches Claude to pull trader activity from Polygon on-chain logs and Polymarket APIs, then compute PnL, win rate, position exposure, and originality heuristics. The bundled Python patterns use web3.py against the CTF Exchange contract on Polygon, async HTTP clients, and a TraderAnalyzer class that filters trades by time window, scores leaderboard candidates, and flags likely copy traders versus original entrants. Developers reach for trader-analysis when wiring trader discovery, copy-trading monitors, or risk dashboards that need repeatable wallet scoring instead of one-off SQL. The skill pairs with the repo's polymarket-api and trading-strategies skills for end-to-end prediction-market tooling.297installs

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.