FIND PROFITABLE TRADERS: THE REPORT CARD

Returns 20 perpetual positions on Solana, sorted by realized, highest first: trader, sum of position realized PnL and count.

By Akshat · saved 24 August 2026 · run 2 times · Bitquery API v2

What it returns

The query

query {
  Solana {
    PerpetualPositions(
      limit: { count: 20 }
      orderBy: { descendingByField: "realized" }
      where: { Position: { TraderIsAmm: false, Closed: true } }
    ) {
      Position { Trader }
      realized: sum(of: Position_RealizedPnl)
      closes: count
      wins: count(if: { Position: { RealizedPnl: { gt: 0 } } })
      losses: count(if: { Position: { RealizedPnl: { lt: 0 } } })
      liquidated: count(if: { Position: { Liquidation: true } })
    }
  }
}

Similar queries