GET OHLC - Share
Returns DEX trades on Ethereum and BNB Chain, where base currency is 0x2170…33f8, quote currency is 0x55d3…7955 and exchange address is 0xca14…0c73, sorted by time interval minute: minute, quote amount, count, quote price, minimum of block and maximum of block.
What it returns
- minute
- quote amount
- count
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0x2170…33f8
- quote currency is 0x55d3…7955
- exchange address is 0xca14…0c73
- protocol is Uniswap v2
- date since 2021-12-17
- time since 2021-12-17
- price asymmetry is below 0.7
The query
{
ethereum(network: bsc) {
dexTrades(
protocol: {is: "Uniswap v2"}
options: {asc: "timeInterval.minute"}
date: {since: "2021-12-17T17:00:00"}
time: {since: "2021-12-17T17:00:00"}
baseCurrency: {is: "0x2170ed0880ac9a755fd29b2688956bd959f933f8"},
quoteCurrency: {is: "0x55d398326f99059ff775485246999027b3197955"},
exchangeAddress: {is: "0xca143ce32fe78f1f7019d7d551a6402fc5350c73"},
priceAsymmetry: {lt: 0.7}
any: [{tradeAmountUsd: {gt: 0.00001}}, {tradeAmountUsd: {is: 0}}]
)
{
timeInterval {
minute(count: 15)
}
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)
}
}
}
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