My OHLC DATA
OHLC data to feed to trading view
Returns DEX trades on Ethereum and Polygon, where base currency is 0x2791…4174, quote currency is 0x6Ba8…0d9E and exchange name is Uniswap: minute, quote amount, quote price, minimum of block and maximum of block.
What it returns
- minute
- quote amount
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0x2791…4174
- quote currency is 0x6Ba8…0d9E
- exchange name is Uniswap
The query
{
ethereum(network: matic) {
dexTrades(
baseCurrency: {is: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"}
quoteCurrency: {is: "0x6Ba825d33a616EFC1Dd915C5b89bD2ED824d0d9E"}
exchangeName: {is: "Uniswap"}
) {
timeInterval {
minute(format: "%FT%TZ", count: 15)
}
volume: quoteAmount(in: USD)
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
}
}
}
Similar queries
- trades · Ethereum · DEXTrades
- matic_DEXTrades · Polygon · DEXTrades
- prediction_dextrades · Polygon · DEXTrades
- matic MAPU trades · Polygon · DEXTrades
- List of DEX supported · Polygon · DEXTrades