pancakeswap kine

Use time or date in before or till selectors

Returns 2000 DEX trades on Ethereum and BNB Chain, where base currency is 0x0e09…ce82, quote currency is 0x55d3…7955 and exchange name is Pancake or Pancake v2, sorted by time interval minute, highest first: minute, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 4 more fields.

By misshuang · saved 2 July 2021 · run 3 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 2000, desc: "timeInterval.minute"}
      date: {since: "2013-11-01"}
      priceAsymmetry: { gteq: 0.01}
      exchangeName: {in: ["Pancake", "Pancake v2"]}
      baseCurrency: {is: "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"}
      quoteCurrency: {is: "0x55d398326f99059ff775485246999027b3197955"}
    ) {
      timeInterval {
        minute(count: 60)
      }
      baseCurrency {
        symbol
        address
      }
      baseAmount
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      trades: count
      quotePrice
      maximum_price: quotePrice(calculate: maximum)
      minimum_price: quotePrice(calculate: minimum)
      open_price: minimum(of: block, get: quote_price)
      close_price: maximum(of: block, get: quote_price)
    }
  }
}

Similar queries