OHLC_Modify_ST
Returns 10 DEX trades on Ethereum, where base currency is 0x6982…1933, quote currency is 0xc02a…6cc2 and time since 2023-07-30, sorted by time interval minute, highest first: minute, quote currency address, quote price, minimum of date and maximum of date.
What it returns
- minute
- quote currency address
- quote price
- minimum of date
- maximum of date
Filters
- base currency is 0x6982…1933
- quote currency is 0xc02a…6cc2
- time since 2023-07-30
- time till 2023-07-30
- trade amount USD is above 10
- price asymmetry is below 0.01
The query
{
ethereum(network: ethereum) {
dexTrades(
baseCurrency: {is: "0x6982508145454ce325ddbe47a25d4ec3d2311933"}
time: {since: "2023-07-30T09:05:00", till: "2023-07-30T09:30:00"}
options: {limit: 10, desc: "timeInterval.minute"}
quoteCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
tradeAmountUsd: {gt: 10} #MinAmount
priceAsymmetry: {lt: 0.01}
) {
timeInterval {
minute(count: 5)
}
sellCurrency: quoteCurrency {
address
}
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: date, get: quote_price)
close: maximum(of: date, get: quote_price)
}
}
}
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