Polymarket Metrics

This page explains how we calculate the metrics displayed on the Polystrat page.

Trades Executed

This metric shows the total number of trades executed by all Polystrat agents across Polymarket. The data is aggregated from the prediction market subgraph.

Query Details

We read the total number of trades from the totalBets field in the global object.

curl -X POST https://api.subgraph.autonolas.tech/api/proxy/predict-polymarket \
  -H "Content-Type: application/json" \
  -d '{"query":"query GetGlobal { global(id: \"\") { id totalBets totalMarketsParticipated } _meta { hasIndexingErrors block { number } } }"}'

Note: The value is retrieved from the totalBets field in the global object.

Markets Traded

This metric shows the total number of unique markets that Polystrat agents have participated in.

Query Details

We read the total number of markets participated from the totalMarketsParticipated field in the global object.

curl -X POST https://api.subgraph.autonolas.tech/api/proxy/predict-polymarket \
  -H "Content-Type: application/json" \
  -d '{"query":"query GetGlobal { global(id: \"\") { id totalBets totalMarketsParticipated } _meta { hasIndexingErrors block { number } } }"}'

Note: The value is retrieved from the totalMarketsParticipated field in the global object.

Data Freshness

All metrics are updated periodically. A stale indicator will appear if the data hasn't been updated recently. The subgraph indexes on-chain data and may have a slight delay from real-time blockchain state.

footer bg