OHLC
Returns 1000 DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4c…095c, quote currency is 0x2b3f…d6e4 and exchange name is Pancake v2, sorted by time interval day: day, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 4 more fields.
What it returns
- day
- base currency symbol
- base currency address
- base amount
- quote currency symbol
- quote currency address
- quote amount
- count
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0xbb4c…095c
- quote currency is 0x2b3f…d6e4
- exchange name is Pancake v2
- date since 2021-12-20
The query
{
ethereum(network: bsc) {
dexTrades(
options: {limit: 1000, asc: "timeInterval.day"}
date: {since: "2021-12-20"}
exchangeName: {is: "Pancake v2"}
baseCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
quoteCurrency: {in: ["0x2b3f34e9d4b127797ce6244ea341a83733ddd6e4"]}
) {
timeInterval {
day(count: 1)
}
baseCurrency {
symbol
address
}
baseAmount
quoteCurrency {
symbol
address
}
quoteAmount
trades: count
volume: quoteAmount
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
}
}
}
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