candle stick with BUSD pair

BUSD pair

Returns 100 DEX trades on Ethereum and BNB Chain, where base currency is 0x83a8…ad0e, quote currency is 0xe9e7…7d56 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 Johnny · saved 19 October 2021 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 100, desc: "timeInterval.minute"}
      date: {since: "2021-10-14"}
      exchangeName: {in: ["Pancake", "Pancake v2"]}
      baseCurrency: {is: "0x83a86adf1a7c56e77d36d585b808052e0a2aad0e"}
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
    ) {
      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