USDC All time high low v1

USDC OHLC Data

Returns 10 DEX trades on Ethereum, where base currency is 0xdac1…1ec7, quote currency is 0xa0b8…eb48 and time since 2021-01-13, sorted by time interval month, highest first: month, base currency name, quote currency name, quote price, minimum of block and maximum of block.

By gaurav · saved 7 July 2023 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query myquery($network: EthereumNetwork, $from: ISO8601DateTime, $till: ISO8601DateTime, $baseCurrency: String, $quoteCurrency: String) {
  ethereum(network: $network) {
    dexTrades(
      baseCurrency: {is: $baseCurrency}
      quoteCurrency: {is: $quoteCurrency}
      time: {since: $from, till: $till}
      priceAsymmetry: {lt: 1}
      tradeAmountUsd: {gt: 500}
      options: {limit: 10, desc: "timeInterval.month"}
    ) {
      timeInterval {
        month(format: "%FT%TZ", count: 12)
      }
      baseCurrency {
        name
      }
      quoteCurrency {
        name
      }
      high: quotePrice(calculate: maximum)
      low: quotePrice(calculate: minimum)
      open: minimum(of: block, get: quote_price)
      close: maximum(of: block, get: quote_price)
    }
  }
}

Variables

{
  "from": "2021-01-13T00:00:00Z",
  "till": "2023-06-20T00:00:00Z",
  "network": "ethereum",
  "baseCurrency": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "quoteCurrency": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
}

Similar queries