This page explains how we calculate the metrics displayed on the Polystrat page.
This metric shows the total number of trades executed by all Polystrat agents across Polymarket. The data is aggregated from the prediction market subgraph.
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.
This metric shows the total number of unique markets that Polystrat agents have participated in.
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.
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.
