ohlc query
Returns 2000 DEX trades on Ethereum and BNB Chain, where base currency is 0x0ebd…1469, quote currency is 0xbb4c…095c and exchange name is Pancake v2, sorted by time interval minute, highest first: minute, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 4 more fields.
What it returns
- minute
- 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 0x0ebd…1469
- quote currency is 0xbb4c…095c
- exchange name is Pancake v2
- date since 2021-11-26
The query
{
ethereum(network: bsc) {
dexTrades(
options: {limit: 2000, desc: "timeInterval.minute"}
date: {since: "2021-11-26"}
exchangeName: {is: "Pancake v2"}
baseCurrency: {is: "0x0ebd9537a25f56713e34c45b38f421a1e7191469"}
quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
) {
timeInterval {
minute(count: 30)
}
baseCurrency {
symbol
address
}
baseAmount
quoteCurrency {
symbol
address
}
quoteAmount
trades: count
quotePrice
maximum_price: quotePrice(calculate: maximum)
minimum_price: quotePrice(calculate: minimum)
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