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

# TokenTopTradersRanking

> A ranking for top traders.

<div data-generated>
  ## GraphQL

  ```
  input TokenTopTradersRanking {
    attribute: TokenTopTradersRankingAttribute!
    direction: RankingDirection!
  }

  enum TokenTopTradersRankingAttribute {
    realizedProfitUsd
    volumeUsd
  }

  enum RankingDirection {
    ASC
    DESC
  }
  ```

  ### Used By

  **Used as input by**

  * [tokenTopTraders](/api-reference/queries/tokentoptraders.md): Returns a list of top traders for a given token.
</div>
