Skip to content

Polymarket Business Analytics (CLOB Only)

@0xdatawolf@0xdatawolf11 charts

Polymarket

About me

I'm 0xDatawolf. Give this unemployed mf a follow on Twitter!

Underlying Views You Can Try

I've (painstakingly 😭) assembled some useful abstracted tables that helps in making the analysis. Here are the tables, how you can retrieve them, and how can they be used

You can use them to make your own queries!

Note I have avoided showing the full tables because it can eat a lot of RAM and slow your browser

Polymarket Business Metrics

Consider this dashboard deprecated because it does not factor volume from the Neg risk adaptor (markets with multiple options)

Volume

-- Query Link: https://dune.com/queries/2828296
SELECT * FROM query_2828296

This contains the transaction logs of all trading on pools on Polymarket. It includes redemption as well.

Note that it only collects info from the CLOB and not the FPMM. This is because the FPMM is legacy and the volume there is low.

Also, you can’t tell if its maker or taker but only if money is leaving or entering a wallet

The ERC-1155 NFTs are burned or minted depending on whether there is existing inventory at hand and thus is not part of volume but I guess its useful info for those who need it.

Because of this volume is just selling and buying volume

Fees are only for some pools depending on Polymarket but they are generally 0

Redeem includes the principle + gains, so you have to manually net each user’s principle to find gains. For instance, I invested $40 but redeem $50. My gains are $10, not $50

Metrics at a Glance

Bet on your beliefs

[This metric] is implies a "push" transaction nature expected from users. Therefore, a metric that measures initiation is key.

North Star:

UMA Logs

-- Query Link: https://dune.com/queries/2824808
SELECT * FROM 2824808

This contains all UMA request -> Proposals -> Dispute / Settle logs. And I mean ALL

To get those relevant to Polymarket, use the is_token_created, is_traded, is_fpmm flag depending on your needs.

I’ve also added some quality of life flags:

  • First UMA tracks the order of the resolution. 1 is the first (request)
  • last_uma_txn traces the order in descending order. 1 is settled
  • is_dispute = 1 finds conditionIDs that were disputed
  • dispute_count finds conditions that were disputed more than twice by counting them (do not sum this column!)

ConditionID Dims

-- Query Link: https://dune.com/queries/2818960
SELECT * FROM query_2818960

This table contains all conditions, or markets (betting pools), that Polymarket has created.

Like I mean all, even those that:

  • Were created but never published
  • Has no token (ERC1155), so they are not tradable
  • Have FPMM (AMM) as an exchange but no tokens
  • Are created but have never been traded before
  • Are created but have no betting contract terms

The way to “detect” the above is by the is_token_created, is_traded, is_fpmm flags. The most important flag is the is_traded flag if all you care about is trading activities.

Some important notes

  • 1 condition ID may have multiple FPMM (for some strange reason). 1 condition ID may have one or more token ID as seen in agg_assetid
  • The question itself is called ancillarydata. To change it to text format, do from_utf8(ancillarydata)
  • created_at is when the condition is created and does not mean that trading has occurred at that time. Perform joins with orderfilled decoded table to get the first trade if you need