OHLC Day w/ Filters | BSC
Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4c…095c, quote currency is 0xe9e7…7d56 and exchange name is Pancake or Pancake v2, sorted by time interval day: day, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote price and 2 more fields.
What it returns
- day
- base currency symbol
- base currency address
- base amount
- quote currency symbol
- quote currency address
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0xbb4c…095c
- quote currency is 0xe9e7…7d56
- exchange name is Pancake or Pancake v2
- date since 2022-08-15
- date till 2022-10-15
The query
{
ethereum(network: bsc) {
dexTrades(
options: {asc: "timeInterval.day"}
date: {since: "2022-08-15", till: "2022-10-15"}
priceAsymmetry: {lteq: 10},
tradeAmountUsd: {gteq: 1}
exchangeName: {in: ["Pancake", "Pancake v2"]}
baseCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
) {
timeInterval {
day(count: 1)
}
baseCurrency {
symbol
address
}
baseAmount
quoteCurrency {
symbol
address
}
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