← 返回
未分类 中文

Polymarket User Analyzer

Analyze Polymarket user trading strategies and patterns. Extract wallet address from username, fetch trading history, and generate comprehensive strategy rep...
分析 Polymarket 用户交易策略和模式。从用户名中提取钱包地址,获取交易历史,并生成全面的策略报告。
future1001
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 231
下载
💾 0
安装
1
版本
#latest

概述

Polymarket User Analyzer

Analyze any Polymarket user's trading strategy by their username or wallet address.

What This Skill Does

  1. Extracts wallet address from Polymarket username
  2. Fetches complete trading history via Polymarket Data API
  3. Analyzes trading patterns and strategy characteristics
  4. Generates comprehensive performance reports

Quick Start

# Analyze by username
node scripts/analyze_user.js @vague-sourdough

# Analyze by wallet address
node scripts/analyze_user.js 0x8c74b4eef9a894433B8126aA11d1345efb2B0488

# Save detailed report
node scripts/analyze_user.js @username --output report.json

Analysis Metrics

The analyzer provides:

Basic Statistics

  • Total trades executed
  • Total capital deployed
  • Average position size
  • Trading frequency

Market Preferences

  • Market type distribution (politics, sports, crypto, etc.)
  • Specific asset focus (BTC, ETH, SOL, etc.)
  • Market duration preferences (5-min, hourly, daily, long-term)

Trading Patterns

  • Direction bias (bullish/bearish)
  • Entry price distribution (contrarian vs momentum)
  • Position sizing strategy (fixed vs dynamic)
  • Time-of-day patterns

Performance Metrics

  • Total P&L (profit/loss)
  • ROI (return on investment)
  • Win rate (if calculable from redeems)
  • Risk-adjusted returns

Strategy Classification

The analyzer identifies common strategy types:

  • Value Investor: Buys underpriced outcomes (low entry prices)
  • Momentum Trader: Follows market trends (high entry prices)
  • Arbitrageur: Exploits pricing inefficiencies
  • Scalper: High-frequency small positions
  • Conviction Trader: Large positions, low frequency

API Reference

Polymarket Data API

Get wallet address from username:

// Fetch user profile page and extract address
const response = await fetch(`https://polymarket.com/@${username}`);
const html = await response.text();
const address = html.match(/0x[a-fA-F0-9]{40}/)[0];

Get trading history:

GET https://data-api.polymarket.com/activity?user={address}&limit={limit}

Response format:

{
  "proxyWallet": "0x...",
  "timestamp": 1234567890,
  "type": "TRADE" | "REDEEM",
  "side": "BUY" | "SELL",
  "price": 0.45,
  "size": 10.5,
  "usdcSize": 5.0,
  "outcome": "Yes" | "No",
  "title": "Market title",
  "slug": "market-slug"
}

Output Format

The analyzer generates a structured report:

# Strategy Analysis: @username

## Overview
- Total Trades: X
- Capital Deployed: $X
- ROI: X%
- Strategy Type: [Classification]

## Market Focus
- Primary Markets: [List]
- Asset Distribution: [Breakdown]

## Trading Characteristics
- Average Entry Price: X
- Position Sizing: [Fixed/Dynamic]
- Direction Bias: [Neutral/Bullish/Bearish]

## Performance
- Total P&L: $X
- Win Rate: X%
- Best Trade: [Details]
- Worst Trade: [Details]

## Strategy Insights
[Key observations and patterns]

Privacy & Ethics

Important: This skill only analyzes publicly available on-chain data. All Polymarket trades are public by design. This tool does not:

  • Access private information
  • Require authentication
  • Store or transmit data to external servers
  • Violate any terms of service

Users should be aware that their Polymarket activity is public and can be analyzed by anyone.

Limitations

  • Only analyzes completed trades (on-chain data)
  • Cannot see pending orders or private strategies
  • REDEEM events may not always indicate wins (market could resolve to 0)
  • Historical data limited by API (typically last 100-1000 trades)
  • Does not account for gas fees or slippage

Use Cases

  • Learning: Study successful traders' strategies
  • Research: Analyze market participant behavior
  • Due Diligence: Verify claimed trading performance
  • Strategy Development: Identify profitable patterns
  • Market Analysis: Understand trader sentiment and positioning

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-12 05:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,162
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,370
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,832