Last 24 hour high and low

Returns one DEX trade on Ethereum, where base currency is 0x6b17…1d0f, quote currency is 0xa0b8…eb48 and date after 2022-07-25, sorted by time interval day, highest first: day, quote amount, quote price, minimum of block and maximum of block.

By gaurav · saved 28 July 2022 · run 17 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      baseCurrency: {is: "0x6b175474e89094c44da98b954eedeac495271d0f"}
      quoteCurrency: {is: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}
      date: {after: "2022-07-25"}
      options: {limit: 1, desc: "timeInterval.day"}
    ) {
      timeInterval {
        day(count: 1)
      }
      volume: quoteAmount(in: USD)
      high: quotePrice(calculate: maximum)
      low: quotePrice(calculate: minimum)
      open: minimum(of: block, get: quote_price)
      close: maximum(of: block, get: quote_price)
    }
  }
}

Similar queries