Pancake OHLC data
Returns one DEX trade on Ethereum and BNB Chain, where base currency is 0xFaa4…66Ac, quote currency is 0xbb4c…095c and exchange name is Pancake or Pancake v2, sorted by time interval minute: 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
- quote price
- trade amount
- minimum of block
- maximum of block
Filters
- base currency is 0xFaa4…66Ac
- quote currency is 0xbb4c…095c
- exchange name is Pancake or Pancake v2
- date is 2021-05-05
The query
{
ethereum(network: bsc) {
dexTrades(options: {asc: "timeInterval.minute", limit: 1},
date: {is: "2021-05-05T18:16:41"}
exchangeName: {in: ["Pancake", "Pancake v2"]},
baseCurrency: { is: "0xFaa41A7DB72f0cB466De97df78A021D17DF966Ac"},
quoteCurrency: { is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c" }) {
timeInterval {
minute(count: 1)
}
baseCurrency {
symbol
address
}
baseAmount
quoteCurrency {
symbol
address
}
quoteAmount
quotePrice
USD: tradeAmount(in: USD, calculate: sum)
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)
}
}
}
Variables
{
"datetime": "2021-05-05T18:16:41",
"baseAddress": "0xFaa41A7DB72f0cB466De97df78A021D17DF966Ac",
"quoteAddress": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"
}
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