> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# WindowedPredictionOutcomeCoreStats

> Core outcome stats that are always available.

<div data-generated>
  ## GraphQL

  ```
  type WindowedPredictionOutcomeCoreStats {
    venueOutcomeId: String!
    trades: Int!
    volume: OutcomeVolumeStats!
    price: PriceOHLC!
  }

  type OutcomeVolumeStats {
    usd: String!
    ct: String!
    shares: String!
  }

  type PriceValuePair {
    usd: String!
    ct: String!
  }

  type PriceOHLC {
    open: PriceValuePair!
    close: PriceValuePair!
    low: PriceValuePair!
    high: PriceValuePair!
  }
  ```

  ### Used By

  **Returned by**

  * [detailedPredictionMarketStats](/api-reference/queries/detailedpredictionmarketstats.md): Returns windowed and all-time stats for a prediction market.
  * [onDetailedPredictionMarketStatsUpdated](/api-reference/subscriptions/ondetailedpredictionmarketstatsupdated.md): Streams updated detailed stats for a specific prediction market.
</div>
