EC Candles data
Returns 1000000 DEX trades on Ethereum and BNB Chain, where buy currency is 0x400d…f7ec, sell currency is 0xbb4c…095c and exchange name is Pancake or Pancake v2, sorted by time interval minute: minute, buy currency symbol, buy currency address, buy amount, sell currency symbol, sell currency address, sell amount and 4 more fields.
What it returns
- minute
- buy currency symbol
- buy currency address
- buy amount
- sell currency symbol
- sell currency address
- sell amount
- count
- price
- minimum of block
- maximum of block
Filters
- buy currency is 0x400d…f7ec
- sell currency is 0xbb4c…095c
- exchange name is Pancake or Pancake v2
- date is 2021-11-16
The query
{
ethereum(network: bsc) {
dexTrades(
options: {limit: 1000000, asc: "timeInterval.minute"}
date: {is: "2021-11-16"}
exchangeName: {in: ["Pancake", "Pancake v2"]}
buyCurrency: {is: "0x400df62c3052fdbaad8c74c0226147f9bfaaf7ec"}
sellCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
) {
timeInterval {
minute(count: 30)
}
buyCurrency {
symbol
address
}
buyAmount
sellCurrency {
symbol
address
}
sellAmount
trades: count
maximum_price: price(calculate: maximum)
minimum_price: price(calculate: minimum)
median_price: price(calculate: median)
open_price: minimum(of: block, get: price)
close_price: maximum(of: block, get: 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