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

# PredictionMarketBarOhlc

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

## GraphQL

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

### Used By

**Returned by**

* [onPredictionMarketBarsUpdated](https://docs.codex.io/api-reference/subscriptions/onpredictionmarketbarsupdated.md): Live-streamed bar chart data to track price changes over time for a prediction market.
* [predictionEventTopMarketsBars](https://docs.codex.io/api-reference/queries/predictioneventtopmarketsbars.md): Returns bar data for top markets inside a prediction event.
* [predictionMarketBars](https://docs.codex.io/api-reference/queries/predictionmarketbars.md): Returns OHLC-style bar data for a prediction market.


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