Weekly OHLC for all pairs
Returns 100 DEX trades on Ethereum and BNB Chain, where exchange name is Pancake v2 and date since 2021-11-01, 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
- exchange name is Pancake v2
- date since 2021-11-01
The query
{
ethereum(network: bsc) {
dexTrades(
options: {limit: 100, asc: "timeInterval.day",
limitBy: {each: "baseCurrency.address", limit: 1}}
date: {since: "2021-11-01"}
exchangeName: {is: "Pancake v2"}
) {
timeInterval {
day(count: 7)
}
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
- 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