ATH of token using quantile on Solana

Returns one DEX trade by token on Solana, where currency mint address is G2rB7n…pump, trade price asymmetry is below 0.01 and side amount in USD is above 10, sorted by a ath, highest first: quantile of trade price in USD.

By Kshitij Mahajan · saved 2 May 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: combined) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "G2rB7nqVhzMb9QG8dKXYAdsZrrs57UbBFHvwYQcpump"}}, PriceAsymmetry: {lt: 0.01}, Side: {AmountInUSD: {gt: "10"}}}}
      limit: {count: 1}
      orderBy: {descendingByField: "aATH"}
    ) {
      aATH: quantile(of: Trade_PriceInUSD, level: 0.99)
    }
  }
}

Similar queries