Top-traders-on-a-sports-market
Returns 10 prediction trades on Polygon, where question market ID is 2453464, sorted by sell volume, highest first: buyer, sum of trade outcome trade collateral amount in USD, count and seller.
What it returns
- buyer
- sum of trade outcome trade collateral amount in USD
- count
- seller
Filters
- question market ID is 2453464
The query
query TopTradersOnGame {
EVM(network: matic) {
Top_buyers: PredictionTrades(
where: {Trade: {Prediction: {Question: {MarketId: {is: "2453464"}}}, OutcomeTrade: {IsOutcomeBuy: true}}}
limit: {count: 10}
orderBy: {descendingByField: "buy_volume"}
) {
Trade {
OutcomeTrade {
Buyer
}
}
buy_volume: sum(of: Trade_OutcomeTrade_CollateralAmountInUSD)
trades: count
}
Top_sellers: PredictionTrades(
where: {Trade: {Prediction: {Question: {MarketId: {is: "2453464"}}}, OutcomeTrade: {IsOutcomeBuy: false}}}
limit: {count: 10}
orderBy: {descendingByField: "sell_volume"}
) {
Trade {
OutcomeTrade {
Seller
}
}
sell_volume: sum(of: Trade_OutcomeTrade_CollateralAmountInUSD)
trades: count
}
}
}
Similar queries
- Polymarket Volume by Exchange Contract and Collateral · Polygon · PredictionTrades
- latest prediction market trades · Polygon · PredictionTrades
- activity of user · Polygon · PredictionTrades
- Polymarket Notional Volume, Taker Volume,Maker Volume · Polygon · PredictionTrades
- buys and sells of a wallet on polymarket · Polygon · PredictionTrades