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

# PredictionTraderBar

> Bar data for a prediction trader at a single point in time. PredictionTraderBar type reference: every field and its type.

## GraphQL

```
type PredictionTraderBar {
  t: Int!
  trades: Int
  buys: Int
  sells: Int
  uniqueMarkets: Int
  volumeUsd: String
  buyVolumeUsd: String
  sellVolumeUsd: String
  volumeCT: String
  buyVolumeCT: String
  sellVolumeCT: String
  wins: Int
  losses: Int
  realizedPnlUsd: String
  realizedPnlCT: String
  cumulativeRealizedPnlUsd: String
  cumulativeRealizedPnlCT: String
}
```

### Used By

**Returned by**

* [predictionTraderBars](https://docs.codex.io/api-reference/queries/predictiontraderbars.md): Returns bar data for a prediction trader over a time range.


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