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

# PredictionTraderRankingAttribute

> The attribute used to rank prediction traders. Reference for the PredictionTraderRankingAttribute enum in the Codex API: every value and where it is accepted.

## GraphQL

```
enum PredictionTraderRankingAttribute {
  TIMESTAMP
  FIRST_TRADE_TIMESTAMP
  LAST_TRADE_TIMESTAMP
  TOTAL_VOLUME_USD_ALL
  TOTAL_VOLUME_CT_ALL
  TOTAL_PROFIT_USD_ALL
  TOTAL_PROFIT_CT_ALL
  TOTAL_TRADES_ALL
  ACTIVE_MARKETS_COUNT
  PNL_PER_VOLUME_ALL
  PROFIT_PER_TRADE_USD_ALL
  VOLUME_PER_TRADE_USD_ALL
  BIGGEST_WIN_USD
  BIGGEST_WIN_CT
  BIGGEST_LOSS_USD
  BIGGEST_LOSS_CT
  VOLUME_USD_12H
  VOLUME_USD_24H
  VOLUME_USD_1W
  VOLUME_USD_1M
  VOLUME_CHANGE_12H
  VOLUME_CHANGE_24H
  VOLUME_CHANGE_1W
  VOLUME_CHANGE_1M
  REALIZED_PNL_USD_12H
  REALIZED_PNL_USD_24H
  REALIZED_PNL_USD_1W
  REALIZED_PNL_USD_1M
  REALIZED_PROFIT_PERCENTAGE_12H
  REALIZED_PROFIT_PERCENTAGE_24H
  REALIZED_PROFIT_PERCENTAGE_1W
  REALIZED_PROFIT_PERCENTAGE_1M
  REALIZED_PNL_CHANGE_12H
  REALIZED_PNL_CHANGE_24H
  REALIZED_PNL_CHANGE_1W
  REALIZED_PNL_CHANGE_1M
  TRADES_12H
  TRADES_24H
  TRADES_1W
  TRADES_1M
  UNIQUE_MARKETS_12H
  UNIQUE_MARKETS_24H
  UNIQUE_MARKETS_1W
  UNIQUE_MARKETS_1M
  WINS_12H
  WINS_24H
  WINS_1W
  WINS_1M
  LOSSES_12H
  LOSSES_24H
  LOSSES_1W
  LOSSES_1M
  WIN_RATE_12H
  WIN_RATE_24H
  WIN_RATE_1W
  WIN_RATE_1M
  AVERAGE_PROFIT_USD_PER_TRADE_12H
  AVERAGE_PROFIT_USD_PER_TRADE_24H
  AVERAGE_PROFIT_USD_PER_TRADE_1W
  AVERAGE_PROFIT_USD_PER_TRADE_1M
  AVERAGE_SWAP_AMOUNT_USD_12H
  AVERAGE_SWAP_AMOUNT_USD_24H
  AVERAGE_SWAP_AMOUNT_USD_1W
  AVERAGE_SWAP_AMOUNT_USD_1M
  HELD_TOKEN_ACQUISITION_COST_USD
  HELD_TOKEN_ACQUISITION_COST_CT
}
```

### Used By

**Used as input by**

* [filterPredictionTraders](https://docs.codex.io/api-reference/queries/filterpredictiontraders.md): Filters prediction traders using optional text, IDs, and ranking criteria.


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