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

# PredictionTraderOutcomeStats

> Per-outcome stats for a trader within a specific market. PredictionTraderOutcomeStats type reference: every field and its type.

## GraphQL

```
type PredictionTraderOutcomeStats {
  outcomeId: String!
  sharesHeld: String!
  actualSharesHeld: String!
  avgEntryPriceUsd: String!
  avgEntryPriceCT: String!
  costBasisUsd: String!
  costBasisCT: String!
  buys: Int!
  sells: Int!
  buyVolumeUsd: String!
  sellVolumeUsd: String!
  buyVolumeCT: String!
  sellVolumeCT: String!
  buyVolumeShares: String!
  sellVolumeShares: String!
  realizedPnlUsd: String!
  realizedPnlCT: String!
  pnlStatus: PredictionTraderMarketPnlStatus!
  firstTradeTimestamp: Int!
  lastTradeTimestamp: Int!
}

enum PredictionTraderMarketPnlStatus {
  WIN
  LOSS
  NEUTRAL
}
```

### Used By

**Returned by**

* [predictionTraderMarketsStats](https://docs.codex.io/api-reference/queries/predictiontradermarketsstats.md): Returns per-market performance stats for a specific trader.


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