ATH of token using quantile on Solana

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

By Divyasshree · saved 21 January 2025 · run 95 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries