Average price calculation every hour
Returns DEX trades on Ethereum and BNB Chain, where base currency is 0x55d3…7955, quote currency is 0xbb4C…095c and date after 2023-04-23: minute, quote price and expression.
What it returns
- minute
- quote price
- expression
Filters
- base currency is 0x55d3…7955
- quote currency is 0xbb4C…095c
- date after 2023-04-23
- date before 2023-04-25
The query
{
ethereum(network: bsc) {
dexTrades(
baseCurrency: {is: "0x55d398326f99059fF775485246999027B3197955"}
quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
date: {after: "2023-04-23", before: "2023-04-25"}
) {
timeInterval {
minute(format: "%FT%TZ", count: 60)
}
sum_q: quotePrice(calculate:sum)
expression(get: "sum_q/24")
}
}
}
Similar queries
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades
- Top DODO liquidity pools by 24h volume on BSC · BNB Chain · DEXTrades
- trades · Ethereum · DEXTrades
- metric_v1_bsc · BNB Chain · DEXTrades
- bsc_tessera · BNB Chain · DEXTrades