OHLC with Filters
Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xe9e7…7d56, quote currency is 0xbb4c…095c and date since 2022-07-31, sorted by time interval minute, highest first: minute, quote amount, quote price, minimum of block, maximum of block and trade amount.
What it returns
- minute
- quote amount
- quote price
- minimum of block
- maximum of block
- trade amount
Filters
- base currency is 0xe9e7…7d56
- quote currency is 0xbb4c…095c
- date since 2022-07-31
- date till 2022-08-01
The query
{
ethereum(network: bsc) {
dexTrades(
date: {since: "2022-07-31T00:00:00.000Z", till: "2022-08-01T00:00:00.000Z"}
baseCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
options: {desc: "timeInterval.minute"}
priceAsymmetry: {lteq: 10},
tradeAmountUsd: {gteq: 1}
) {
timeInterval {
minute(count: 1440, 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)
tradeUSD: tradeAmount(in: USD)
}
}
}
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