Tron WLINK/WTRX Pair OHLC data

Returns 100 DEX trades on Tron, where base currency is TRkuKA…pmwH, quote currency is TNUC9Q…jWFR and exchange name is USWAP, sorted by time interval minute: minute, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 4 more fields.

By gaurav · saved 25 October 2021 · run 5 times · Bitquery API v1

What it returns

Filters

The query

{
  tron {
    dexTrades(
      options: {limit: 100, asc: "timeInterval.minute"}
      date: {since: "2021-05-01"}
      exchangeName: {is: "USWAP"}
      baseCurrency: {is: "TRkuKAxmWZ4G74MvZnFpoosQZsfvtNpmwH"}
      quoteCurrency: {is: "TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR"}
    ) {
      timeInterval {
        minute(count: 5)
      }
      baseCurrency {
        symbol
        address
      }
      baseAmount
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      trades: count
      quotePrice
      maximum_price: quotePrice(calculate: maximum)
      minimum_price: quotePrice(calculate: minimum)
      median_price: quotePrice(calculate: median)
      open_price: minimum(of: block, get: quote_price)
      close_price: maximum(of: block, get: quote_price)
    }
  }
}

Similar queries