ohlc
Returns 10 DEX trades on Ethereum, where base currency is 0xb569…8b05 and price asymmetry is below 1, sorted by time interval year, highest first: year, base currency name, quote currency name, quote price, minimum of block and maximum of block.
What it returns
- year
- base currency name
- quote currency name
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0xb569…8b05
- price asymmetry is below 1
The query
{
ethereum(network: ethereum) {
dexTrades(
baseCurrency: {is: "0xb569e1739a452585ce799ef3b0c606a4f0e28b05"}
priceAsymmetry: {lt: 1}
options: {limit: 10, desc: "timeInterval.year"}
) {
timeInterval {
year(count: 5)
}
baseCurrency {
name
}
quoteCurrency {
name
}
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
openTime: minimum(of: block, get: time)
closeTime: maximum(of: block, get: time)
}
}
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades