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

# PredictionEventAllTimeStats

> All-time aggregate stats for a prediction event. PredictionEventAllTimeStats type reference: every field and its type.

## GraphQL

```
type PredictionEventAllTimeStats {
  volume: CurrencyValuePair!
  venueVolume: CurrencyValuePair
}

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

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