← Back to home

PolymarketAnalytics

Polymarket Analytics allows you to fetch and analyze all trades made by any account on Polymarket, bypassing the platform's viewing limitations. Track profit and loss over time, inspect impactful trades, and uncover trading strategies. Built using Scaffold-ETH-2 and subgraphs.

Screenshots

PolymarketAnalytics screenshot 1
PolymarketAnalytics screenshot 2
PolymarketAnalytics screenshot 3
PolymarketAnalytics screenshot 4
PolymarketAnalytics screenshot 5

Problem Statement

Our project provides an analytics tool for Polymarket users. Polymarket does not allow users to view the complete trade history of an account, which limits their ability to analyze performance and strategies. We address this limitation by using subgraphs/substreams to fetch all trades made by any account on Polymarket. This enables users to:View Profit and Loss Over Time: Track how an account's profitability changes over different periods.Inspect Trades: Identify trades that had the most significant effect on an account's performance.Analyze Trading Strategies: Understand the strategies employed by other traders, which can help you refine your own approach.Inspect Accounts: Look at the trading history of specific accountsFuture Plans: We plan to allow users to connect their own wallets and automatically copy trades made by other Polymarket traders using substreams. Substreams offer lower latency than subgraphs, minimizing tracking errors when copying trades. Implementation of this feature is currently on hold due to issues with the Application Binary Interface (ABI) of the Polymarket CTF Market, which prevents proper functionality.

Solution

We built Polymarket Analytics using Scaffold-ETH-2 as our foundational template, which streamlined our setup process.Data Retrieval with Subgraphs/Substreams: We utilized multiple existing subgraphs and developed a custom subgraph to fetch detailed trade data from Polymarket. These subgraphs collect and organize on-chain data, making it accessible for analysis.Chart.js and similar libraries to visualize the dataBy using subgraphs we've created a tool that enhances transparency and strategy analysis for Polymarket users.

Hackathon

ETHGlobal San Francisco

2024

Prizes

  • 🏆

    Best Use of Subgraph2nd place

    The Graph

Contributors