Token Charting

Returns 100 DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4c…095c, quote currency is 0x9b93…4454 and exchange name is Pancake, sorted by time interval minute: minute, quote price, minimum of block, maximum of block, base currency name and quote currency name.

By SikeAdmin · saved 19 April 2021 · run 6 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 100, asc: "timeInterval.minute"}
      date: {since: "2021-01-01"}
      exchangeName: {is: "Pancake"}
      baseCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
      quoteCurrency: {is: "0x9b93c29595dd603f75854eba3c5f4ee078ee4454"}
    ) {
      timeInterval {
        minute(count: 5)
      }
      high: quotePrice(calculate: maximum)
      low: quotePrice(calculate: minimum)
      open: minimum(of: block, get: quote_price)
      close: maximum(of: block, get: quote_price)
      baseCurrency {
        name
      }
      quoteCurrency {
        name
      }
    }
  }
}

Similar queries