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

# CurrencyBarData

> Price data for a bar at a specific resolution. CurrencyBarData type reference: every field and its type.

## GraphQL

```
type CurrencyBarData {
  t: Int!
  usd: IndividualBarData!
  token: IndividualBarData!
}

type IndividualBarData {
  o: Float!
  h: Float!
  l: Float!
  c: Float!
  v: Int
  t: Int!
  volume: String!
  volumeNativeToken: String!
  buyers: Int!
  buys: Int!
  buyVolume: String!
  sellers: Int!
  sells: Int!
  sellVolume: String!
  liquidity: String!
  traders: Int!
  transactions: Int!
  poolFees: String
  baseFees: String
  priorityFees: String
  builderTips: String
  l1DataFees: String
}
```

### Used By

**Returned by**

* [onBarsUpdated](https://docs.codex.io/api-reference/subscriptions/onbarsupdated.md): Live-streamed bar chart data to track price changes over time. Processed updates are projected into `aggregates` using the confirmed bar shape.
* [onTokenBarsUpdated](https://docs.codex.io/api-reference/subscriptions/ontokenbarsupdated.md): Live-streamed aggregate bar chart data to track price changes over time for a token.


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