{"skill":{"slug":"polymarket-user-analyzer","displayName":"Polymarket User Analyzer","summary":"Analyze Polymarket user trading strategies and patterns. Extract wallet address from username, fetch trading history, and generate comprehensive strategy rep...","description":"---\nname: polymarket-user-analyzer\ndescription: Analyze Polymarket user trading strategies and patterns. Extract wallet address from username, fetch trading history, and generate comprehensive strategy reports including win rate, market preferences, position sizing, entry price analysis, and profitability metrics. Use when asked to analyze a Polymarket user's strategy, trading patterns, or performance.\n---\n\n# Polymarket User Analyzer\n\nAnalyze any Polymarket user's trading strategy by their username or wallet address.\n\n## What This Skill Does\n\n1. Extracts wallet address from Polymarket username\n2. Fetches complete trading history via Polymarket Data API\n3. Analyzes trading patterns and strategy characteristics\n4. Generates comprehensive performance reports\n\n## Quick Start\n\n```bash\n# Analyze by username\nnode scripts/analyze_user.js @vague-sourdough\n\n# Analyze by wallet address\nnode scripts/analyze_user.js 0x8c74b4eef9a894433B8126aA11d1345efb2B0488\n\n# Save detailed report\nnode scripts/analyze_user.js @username --output report.json\n```\n\n## Analysis Metrics\n\nThe analyzer provides:\n\n### Basic Statistics\n- Total trades executed\n- Total capital deployed\n- Average position size\n- Trading frequency\n\n### Market Preferences\n- Market type distribution (politics, sports, crypto, etc.)\n- Specific asset focus (BTC, ETH, SOL, etc.)\n- Market duration preferences (5-min, hourly, daily, long-term)\n\n### Trading Patterns\n- Direction bias (bullish/bearish)\n- Entry price distribution (contrarian vs momentum)\n- Position sizing strategy (fixed vs dynamic)\n- Time-of-day patterns\n\n### Performance Metrics\n- Total P&L (profit/loss)\n- ROI (return on investment)\n- Win rate (if calculable from redeems)\n- Risk-adjusted returns\n\n### Strategy Classification\n\nThe analyzer identifies common strategy types:\n- **Value Investor**: Buys underpriced outcomes (low entry prices)\n- **Momentum Trader**: Follows market trends (high entry prices)\n- **Arbitrageur**: Exploits pricing inefficiencies\n- **Scalper**: High-frequency small positions\n- **Conviction Trader**: Large positions, low frequency\n\n## API Reference\n\n### Polymarket Data API\n\n**Get wallet address from username:**\n```javascript\n// Fetch user profile page and extract address\nconst response = await fetch(`https://polymarket.com/@${username}`);\nconst html = await response.text();\nconst address = html.match(/0x[a-fA-F0-9]{40}/)[0];\n```\n\n**Get trading history:**\n```\nGET https://data-api.polymarket.com/activity?user={address}&limit={limit}\n```\n\n**Response format:**\n```json\n{\n  \"proxyWallet\": \"0x...\",\n  \"timestamp\": 1234567890,\n  \"type\": \"TRADE\" | \"REDEEM\",\n  \"side\": \"BUY\" | \"SELL\",\n  \"price\": 0.45,\n  \"size\": 10.5,\n  \"usdcSize\": 5.0,\n  \"outcome\": \"Yes\" | \"No\",\n  \"title\": \"Market title\",\n  \"slug\": \"market-slug\"\n}\n```\n\n## Output Format\n\nThe analyzer generates a structured report:\n\n```markdown\n# Strategy Analysis: @username\n\n## Overview\n- Total Trades: X\n- Capital Deployed: $X\n- ROI: X%\n- Strategy Type: [Classification]\n\n## Market Focus\n- Primary Markets: [List]\n- Asset Distribution: [Breakdown]\n\n## Trading Characteristics\n- Average Entry Price: X\n- Position Sizing: [Fixed/Dynamic]\n- Direction Bias: [Neutral/Bullish/Bearish]\n\n## Performance\n- Total P&L: $X\n- Win Rate: X%\n- Best Trade: [Details]\n- Worst Trade: [Details]\n\n## Strategy Insights\n[Key observations and patterns]\n```\n\n## Privacy & Ethics\n\n**Important:** This skill only analyzes publicly available on-chain data. All Polymarket trades are public by design. This tool does not:\n- Access private information\n- Require authentication\n- Store or transmit data to external servers\n- Violate any terms of service\n\nUsers should be aware that their Polymarket activity is public and can be analyzed by anyone.\n\n## Limitations\n\n- Only analyzes completed trades (on-chain data)\n- Cannot see pending orders or private strategies\n- REDEEM events may not always indicate wins (market could resolve to 0)\n- Historical data limited by API (typically last 100-1000 trades)\n- Does not account for gas fees or slippage\n\n## Use Cases\n\n- **Learning**: Study successful traders' strategies\n- **Research**: Analyze market participant behavior\n- **Due Diligence**: Verify claimed trading performance\n- **Strategy Development**: Identify profitable patterns\n- **Market Analysis**: Understand trader sentiment and positioning\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":258,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1771416324356,"updatedAt":1778991429047},"latestVersion":{"version":"1.0.0","createdAt":1771416324356,"changelog":"- Initial release of Polymarket User Analyzer.\n- Analyze Polymarket trading strategies by username or wallet address.\n- Fetch and process complete on-chain trading history using the Polymarket Data API.\n- Generate detailed reports with win rate, market preferences, position sizing, entry analysis, and performance metrics.\n- Classify user strategy types, such as value investor, momentum trader, or arbitrageur.\n- Only utilizes public, on-chain data for privacy and transparency.","license":null},"metadata":null,"owner":{"handle":"future1001","userId":"s1721260n7p5e5bjcbmy9aj7k5884z0e","displayName":"future1001","image":"https://avatars.githubusercontent.com/u/143866764?v=4"},"moderation":null}