poocoin ohlc
Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xb27a…97cc, quote currency is 0xbb4C…095c and exchange name is Pancake v2: 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 0xb27a…97cc
- quote currency is 0xbb4C…095c
- exchange name is Pancake v2
- time since 2021-12-17
- price asymmetry is below 10
- trade amount USD is above 1
The query
query ($baseAddress: String, $quoteAddress: String, $from: ISO8601DateTime!, $interval: Int, $exchangeName: String) {
ethereum(network: bsc) {
dexTrades(
baseCurrency: {is: $baseAddress}
quoteCurrency: {is: $quoteAddress}
time: {since: $from}
exchangeName: {is: $exchangeName}
priceAsymmetry: {lt: 10}
tradeAmountUsd: {gt: 1}
) {
timeInterval {
minute(format: "%FT%TZ", count: $interval)
}
buyCurrency: baseCurrency {
symbol
address
}
buyAmount: baseAmount
sellCurrency: quoteCurrency {
symbol
address
}
volume: quoteAmount
trades: count
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
}
}
}
Variables
{
"from": "2021-12-17T00:00:00",
"interval": 1440,
"baseAddress": "0xb27adaffb9fea1801459a1a81b17218288c097cc",
"quoteAddress": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"exchangeName": "Pancake v2"
}
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