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

# DetailedPredictionTraderStatsInput

> Input type of `detailedPredictionTraderStats`. DetailedPredictionTraderStatsInput input object reference: every field and its type.

## GraphQL

```
input DetailedPredictionTraderStatsInput {
  traderId: String!
  timestamp: Int
  durations: [PredictionTraderStatsDuration!]
}

enum PredictionTraderStatsDuration {
  day30
  week1
  day1
  hour12
  hour4
  hour1
}
```

### Used By

**Used as input 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.