LICO Index Candle Sticks

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0x6ae4…ed8a, quote currency is 0xbb4c…095c and date since 2021-01-01, sorted by time interval minute: base currency symbol, base currency address, base currency name, minute, quote amount, quote price, minimum of block and maximum of block.

By Mr.milanesa · saved 5 May 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {asc: "timeInterval.minute"}
      date: {since: "2021-01-01T00:00:00.000Z", till: "2022-12-31T23:59:59.000Z"}
      baseCurrency: {is: "0x6ae448ec22f1507be2243fe51e36fdadd2b3ed8a"},
      quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"},
    ) 
    {
      baseCurrency {
        symbol
        address
        address
        name
      }
      timeInterval {
        minute(count: 15, format: "%Y-%m-%dT%H:%M:%SZ")  
      }
      volume: quoteAmount
      high: quotePrice(calculate: maximum)
      low: quotePrice(calculate: minimum)
      open: minimum(of: block, get: quote_price)
      close: maximum(of: block, get: quote_price) 
    }
  }
}

Similar queries