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

# PriceOHLC

> OHLC (Open/High/Low/Close) values for prices. Reference for the PriceOHLC type in the Codex API: every field, its type, and the operations that return it.

## GraphQL

```
type PriceOHLC {
  open: PriceValuePair!
  close: PriceValuePair!
  low: PriceValuePair!
  high: PriceValuePair!
}

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

### Used By

**Returned by**

* [detailedPredictionMarketStats](https://docs.codex.io/api-reference/queries/detailedpredictionmarketstats.md): Returns windowed and all-time stats for a prediction market.
* [onDetailedPredictionMarketStatsUpdated](https://docs.codex.io/api-reference/subscriptions/ondetailedpredictionmarketstatsupdated.md): Streams updated detailed stats for a specific prediction market.


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