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

# PredictionTraderMarketPnlStatus

> The PnL status of a trader position in a market.

<div data-generated>
  ## GraphQL

  ```
  enum PredictionTraderMarketPnlStatus {
    WIN
    LOSS
    NEUTRAL
  }
  ```

  ### Used By

  **Returned by**

  * [filterPredictionTraderMarkets](/api-reference/queries/filterpredictiontradermarkets.md): Filters trader-market records using trader, market, event, and ranking criteria.
  * [predictionTraderMarketsStats](/api-reference/queries/predictiontradermarketsstats.md): Returns per-market performance stats for a specific trader.

  **Used as input by**

  * [filterPredictionTraderMarkets](/api-reference/queries/filterpredictiontradermarkets.md): Filters trader-market records using trader, market, event, and ranking criteria.
</div>

## PnL Status Descriptions

* **`WIN`** - The trader's position resulted in a profit. For resolved markets, this means the trader held shares of the winning outcome. The trader's realized PnL is positive.
* **`LOSS`** - The trader's position resulted in a loss. For resolved markets, this means the trader held shares of a losing outcome or sold winning shares too early. The trader's realized PnL is negative.
* **`NEUTRAL`** - The trader's position broke even or has not yet been resolved. This can occur when a trader has closed all positions at their entry price, or when the market is still open and unrealized PnL is near zero.
