MyteamEx MYC OHLC data

Returns 10 DEX trades on Ethereum and BNB Chain, where buy currency is 0xc99a…Dfd5, sell currency is 0xe9e7…7D56 and exchange address is 0x13c0…5EB3, sorted by time interval minute: minute, buy currency symbol, buy currency address, buy amount, sell currency symbol, sell currency address, sell amount and 4 more fields.

By Stanislas · saved 27 September 2022 · run 15 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 10, asc: "timeInterval.minute"}
      date: {is: "2022-09-09"}
      buyCurrency: {is: "0xc99a0aD9Fb77E74Dda20AC805223B760Ad3bDfd5"}
      sellCurrency: {is: "0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56"}
      exchangeAddress: {is: "0x13c075B159bA5B4C2c1A71B1a27eB60438Ab5EB3"}
    ) {
      timeInterval {
        minute(count: 5)
      }
      buyCurrency {
        symbol
        address
      }
      buyAmount
      sellCurrency {
        symbol
        address
      }
      sellAmount
      trades: count
      maximum_price: price(calculate: maximum)
      minimum_price: price(calculate: minimum)
      open_price: minimum(of: block, get: price)
      close_price: maximum(of: block, get: price)
    }
  }
}

Similar queries