> ## 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.

# WindowedPredictionEventChangeStats

> Change percentages for a prediction event over a time window. WindowedPredictionEventChangeStats type reference: every field and its type.

## GraphQL

```
type WindowedPredictionEventChangeStats {
  volumeChange: Float!
  tradesChange: Float!
  buyVolumeChange: Float
  sellVolumeChange: Float
  uniqueTradersChange: Float
  liquidityChange: Float
  openInterestChange: Float
}
```

### Used By

**Returned by**

* [detailedPredictionEventStats](https://docs.codex.io/api-reference/queries/detailedpredictioneventstats.md): Returns windowed and all-time stats for a prediction event.
* [onDetailedPredictionEventStatsUpdated](https://docs.codex.io/api-reference/subscriptions/ondetailedpredictioneventstatsupdated.md): Streams updated detailed stats for a specific prediction event.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.