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

# WindowedPredictionEventLiquidityStats

> Event-level liquidity OHLC data. WindowedPredictionEventLiquidityStats type reference: every field and its type.

## GraphQL

```
type WindowedPredictionEventLiquidityStats {
  liquidity: CurrencyOHLC!
}

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

type CurrencyOHLC {
  open: CurrencyValuePair!
  close: CurrencyValuePair!
  low: CurrencyValuePair!
  high: CurrencyValuePair!
}
```

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