outcome volumes of a gold market in last 24 hours
Returns prediction trades on Polygon, where question market ID is 1606192: title, resolution source, image, market ID, question ID, created at and sum of trade outcome trade collateral amount in USD.
What it returns
- title
- resolution source
- image
- market ID
- question ID
- created at
- sum of trade outcome trade collateral amount in USD
Filters
- question market ID is 1606192
The query
query MarketVolumeByOutcome {
EVM(network: matic) {
PredictionTrades(
where: {
Block: { Time: { since_relative: { days_ago: 24 } } }
TransactionStatus: { Success: true }
Trade: {
Prediction: { Question:{MarketId: {is:"1606192"}}}
}
}
) {
Trade {
Prediction {
Question {
Title
ResolutionSource
Image
MarketId
Id
CreatedAt
}
}
}
up_volume: sum(
of: Trade_OutcomeTrade_CollateralAmountInUSD
if: { Trade: { Prediction: { Outcome: { Label: { is: "Up" } } } } }
)
down_volume: sum(
of: Trade_OutcomeTrade_CollateralAmountInUSD
if: { Trade: { Prediction: { Outcome: { Label: { is: "Down" } } } } }
)
total_volume: sum(of: Trade_OutcomeTrade_CollateralAmountInUSD)
}
}
}
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