matic-OHLC-data
Returns 100 DEX trades on Ethereum and Polygon, where base currency is 0x0000…fa1c, quote currency is 0x0d50…1270 and date since 2021-08-11, sorted by time interval minute: 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 0x0000…fa1c
- quote currency is 0x0d50…1270
- date since 2021-08-11
The query
{
ethereum(network: matic) {
dexTrades(
options: {limit: 100, asc: "timeInterval.minute"}
date: {since: "2021-08-11"}
baseCurrency: {is: "0x0000000000004946c0e9f43f4dee607b0ef1fa1c"}
quoteCurrency: {is: "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"}
) {
timeInterval {
minute(count: 5)
}
baseCurrency {
symbol
address
}
baseAmount
quoteCurrency {
symbol
address
}
quoteAmount
trades: count
quotePrice
maximum_price: quotePrice(calculate: maximum)
minimum_price: quotePrice(calculate: minimum)
open_price: minimum(of: block, get: quote_price)
close_price: 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