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.
What it returns
- trader
- sum of position realized PnL
- count
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
- Solana Liquidations API - Phoenix Perps · Solana · PerpetualPositions
- Top Open Positions on Solana Perps (Phoenix) · Solana · PerpetualPositions
- Solana Perps Realized PnL API (Phoenix) · Solana · PerpetualPositions
- realized-PnL leaderboard · Solana · PerpetualPositions
- POSITIONS, PNL & FUNDING · Solana · PerpetualPositions