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

# WindowedPredictionTraderCurrencyStats

> Currency stats for a prediction trader over a time window. WindowedPredictionTraderCurrencyStats type reference: every field and its type.

## GraphQL

```
type WindowedPredictionTraderCurrencyStats {
  volumeUsd: String!
  buyVolumeUsd: String!
  sellVolumeUsd: String!
  volumeCT: String!
  buyVolumeCT: String!
  sellVolumeCT: String!
  realizedPnlUsd: String!
  realizedPnlCT: String!
  realizedProfitPercentage: Float!
  averageProfitUsdPerTrade: String!
  averageProfitCTPerTrade: String!
  averageSwapAmountUsd: String!
  averageSwapAmountCT: String!
  heldTokenAcquisitionCostUsd: String!
  heldTokenAcquisitionCostCT: String!
  soldTokenAcquisitionCostUsd: String!
  soldTokenAcquisitionCostCT: String!
}
```

### Used By

**Returned by**

* [detailedPredictionTraderStats](https://docs.codex.io/api-reference/queries/detailedpredictiontraderstats.md): Returns windowed and all-time stats for a prediction trader.


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