POLY DAY LIVE
التوترات الجيوسياسية في الشرق الأوسط: هل ستحدث مواجهة عسكرية مباشرة بين الولايات المتحدة وإيران قبل عام 2027؟ (نعم 22% · 22¢ · 24h $2.48M) قرارات الفيدرالي الأمريكي، ₿ أهداف البيتكوين، الجيوسياسة والنفط، دوري أبطال أوروبا والدوري السعودي رادار الأموال الذكية (Smart Money): رصد فوري لصفقات الحيتان فوق $1,000 USDC على شبكة Polygon التوترات الجيوسياسية في الشرق الأوسط: هل ستحدث مواجهة عسكرية مباشرة بين الولايات المتحدة وإيران قبل عام 2027؟ (نعم 22% · 22¢ · 24h $2.48M) قرارات الفيدرالي الأمريكي، ₿ أهداف البيتكوين، الجيوسياسة والنفط، دوري أبطال أوروبا والدوري السعودي رادار الأموال الذكية (Smart Money): رصد فوري لصفقات الحيتان فوق $1,000 USDC على شبكة Polygon
P.DAY p.day
Poly Day · توقعات اليوم p.day
تتبع الأموال الحقيقية · رادار الحيتان · كيلي
TOOL #07 · OFFICIAL SUBGRAPH GRAPHQL EXPLORER GitHub: Polymarket/polymarket-subgraph ↗

Official `Polymarket/polymarket-subgraph` On-Chain Whale Positions & PnL GraphQL Explorer

Query Polymarket's official Goldsky-hosted Subgraph (`Polymarket/polymarket-subgraph`) with zero API keys to inspect whale `avgPrice`, `realizedPnl`, and institutional CTF split/merge events.

01 · Tool Overview & Quantitative Mechanism

Ever wondered how institutional desks compute a whale's exact average entry price (`avgPrice`) and cumulative realized profit (`realizedPnl`) across thousands of Polygon blocks? The answer is Polymarket's official `Polymarket/polymarket-subgraph` repository.

Hosted publicly on Goldsky with zero authentication required, the official subgraph exposes three specialized endpoints: `positions-subgraph` (live token balances), `pnl-subgraph` (`avgPrice` and `realizedPnl` per user), and `activity-subgraph` (on-chain CTF `splits` and `merges`).

02 · Live Interactive Simulator & Demo Workbench

REAL-TIME BROWSER ENGINE · 0 LATENCY
GITHUB INTEGRATION · POLYMARKET/POLYMARKET-SUBGRAPH (★ 220) github.com/Polymarket/polymarket-subgraph →

Official Polymarket Subgraph GraphQL Explorer: Query Whale Positions, Avg Cost & CTF Minting

Built on Polymarket's official `polymarket-subgraph` manifest (hosted on Goldsky/TheGraph): Every Polygon CTF token position, whale cost basis, and split/merge event is indexed on-chain. Switch between the 3 official GraphQL query templates below to preview live indexed telemetry and copy the Python query script:

Subgraph Entity · #01
userPositions(where: {balance_gt: "10000"})
Avg Price: 54.2¢ → Cur: 68.0¢ (+25.4%)
Realized & Unrealized PnL
+$462,800.00 USDC
Indexed Trades: 1,428 · Win Rate: 84.6%
Polygon Indexing Latency
< 1 Block (~2.1s)
Goldsky Public GraphQL Endpoint (0 Auth)
polymarket_subgraph_whale_query.py

03 · Step-by-Step Usage Guide (4-Stage Walkthrough)

Step 1: Select One of the 3 Official Subgraph Query Templates

Click `01 · userPositions`, `02 · accounts PnL`, or `03 · splits & merges` to load the corresponding Goldsky endpoint and GraphQL query.

Step 2: Review the Indexed Entity Schema Cards

Note that USDC amounts and CTF token balances in the Subgraph use 6-decimal fixed-point representation (`1000000` = `$1.00 USDC`).

Step 3: Copy the Ready-to-Run Python GraphQL Script

Copy `polymarket_subgraph_whale_query.py`—it requires only standard Python `requests` and zero API keys.

Step 4: Pipe Top PnL Addresses Into Your Copy-Trading Bot

Run the PnL query daily to discover wallets with `realizedPnl > $100,000`, then feed those addresses into Tool #06.

PRODUCTION DEPLOYMENT · CLI / PYTHON / DOCKER / VPS

04 · Automated CLI, Python & Docker VPS Deployment Guide

To run this tool 24/7 on your local workstation or an isolated cloud server (such as a low-latency RAKsmart VPS in Tokyo or Frankfurt), copy or download the production deployment script below:

polymarket_subgraph_whale_query.py
#!/usr/bin/env python3
# Official Polymarket Subgraph CLI Runner (Zero API Key Required)
import requests, json

PNL_SUBGRAPH = "https://api.goldsky.com/api/public/project_cl6mb8i9h0003e201j6li0diw/subgraphs/pnl-subgraph/0.0.14/gn"
QUERY = '''
query TopRealizedProfitWhales {
  userPositions(where: { realizedPnl_gt: "100000000000" }, first: 10, orderBy: realizedPnl, orderDirection: desc) {
    user
    tokenId
    amount
    avgPrice
    realizedPnl
  }
}
'''
res = requests.post(PNL_SUBGRAPH, json={"query": QUERY}, timeout=15).json()
for row in res.get("data", {}).get("userPositions", []):
    pnl_usd = int(row["realizedPnl"]) / 1e6
    avg_c = int(row["avgPrice"]) / 1e4
    print(f"Whale {row['user']} | Realized PnL: +${pnl_usd:,.2f} USDC | Avg Entry: {avg_c:.1f}c")

Explore More Standalone Polymarket Pro Tools

← Back to Pro Tools Directory (All 10 Tools)
عمليات البحث الأكثر رواجاً: شرح بولي ماركت (Polymarket) وأسواق التوقعات

Poly Day (p.day) — ما هو بولي ماركت (Polymarket)؟ شرح سوق التوقعات، تطبيق Polymarket App والإمارات (UAE)

دليل شامل حول ما هو بولي ماركت، تطبيق Polymarket App، احتمالات البيتكوين والنفط وإيداع USDC عبر Polygon

يتزايد بحث المتداولين في الخليج والشرق الأوسط عن «بولي ماركت» و«شرح Polymarket» و«تطبيق Polymarket app» للاستفادة من أكبر بورصة توقعات لامركزية في العالم على شبكة Polygon. يتيح لك بولي ماركت تداول أسهم الاحتمالات («نعم» أو «لا») بسعر يتراوح بين 1 سنت و99 سنتاً بعملة USDC حول قرارات الفيدرالي، أسعار النفط والذهب، البيتكوين، ودوري أبطال أوروبا.

يوفر لك موقع Poly Day بالعربية (p.day/ar/) متابعة فورية لسيولة دفتر أوامر CLOB، ورصد تحركات محافظ الحيتان الكبرى، بالإضافة إلى دليل تحويل الدرهم الإماراتي أو الريال السعودي عبر Binance P2P وOKX وRain إلى عملة USDC على شبكة Polygon برسوم صفرية.

P.DAY
Poly Day · توقعات اليوم (p.day)
★ تتبع الأموال الحقيقية · رادار الحيتان · كيلي