ATH of a token

Returns one DEX trade by token on BNB Chain, where currency smart contract is 0xf69F…4444, side currency smart contract is 0x55d3…7955 or 0xbb4C…095c and trade price asymmetry is at most 0.1, sorted by a ath, highest first: quantile of trade price in USD.

By Akshat · saved 15 October 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: bsc, dataset:realtime) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0xf69F827C3De473a457Aac01e97Fcf8F952014444"}}, PriceAsymmetry: {le: 0.1}, Side: {Currency: {SmartContract: {in: ["0x55d398326f99059fF775485246999027B3197955", "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"]}}}}}
      limit: {count: 1}
      orderBy: {descendingByField: "aATH"}
    ) {
      aATH: quantile(of: Trade_PriceInUSD, level: 0.99)
    }
  }
}

Similar queries