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

# PredictionEventBarOhlc

> OHLC price data for a prediction event bar. PredictionEventBarOhlc type reference: every field and its type.

## GraphQL

```
type PredictionEventBarOhlc {
  o: String!
  h: String!
  l: String!
  c: String!
}
```

### Used By

**Returned by**

* [onPredictionEventBarsUpdated](https://docs.codex.io/api-reference/subscriptions/onpredictioneventbarsupdated.md): Live-streamed bar chart data to track price changes over time for a prediction event.
* [predictionEventBars](https://docs.codex.io/api-reference/queries/predictioneventbars.md): Returns bar data for a prediction event.


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