Crude Oil market stats

Returns prediction trades on Polygon: title, resolution source, image, market ID, question ID, created at and sum of trade outcome trade collateral amount in USD.

By Divyasshree · saved 14 March 2026 · run 2 times · Bitquery API v2

What it returns

The query

query MyQuery {
  EVM(network: matic) {
    PredictionTrades(
      where: {Block: {Time: {since_relative: {hours_ago: 1}}}, TransactionStatus: {Success: true}, Trade: {Prediction: {OutcomeToken: {}, Question: {ResolutionSource: {includesCaseInsensitive: "www.eia.gov"}}}}}
    ) {
      Trade {
        Prediction {
          Question {
            Title
            ResolutionSource
            Image
            MarketId
            Id
            CreatedAt
          }
        }
      }
      yes_volume: sum(
        of: Trade_OutcomeTrade_CollateralAmountInUSD
        if: {Trade: {Prediction: {Outcome: {Label: {is: "Yes"}}}}}
      )
      no_volume: sum(
        of: Trade_OutcomeTrade_CollateralAmountInUSD
        if: {Trade: {Prediction: {Outcome: {Label: {is: "No"}}}}}
      )
      total_volume: sum(of: Trade_OutcomeTrade_CollateralAmountInUSD)
    }
  }
}

Variables

{
  
}

Similar queries