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

<div data-generated>
  ## 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](/api-reference/queries/predictiontradermarketsstats.md): Returns per-market performance stats for a specific trader.
</div>
