Mati_Candle
Returns DEX trades on Ethereum and Polygon, where exchange address is 0x1090…95C9, base currency is 0xcC1B…28Fc and quote currency is 0xc1c9…EEAE, sorted by time interval minute: minute, quote price, minimum of block, maximum of block, address address and full name.
What it returns
- minute
- quote price
- minimum of block
- maximum of block
- address address
- full name
Filters
- exchange address is 0x1090…95C9
- base currency is 0xcC1B…28Fc
- quote currency is 0xc1c9…EEAE
- date since 2022-01-21
- date till 2022-02-11
The query
query GetCandleData($baseCurrency: String!, $since: ISO8601DateTime, $till: ISO8601DateTime, $quoteCurrency: String!, $window: Int) {
ethereum(network: matic) {
dexTrades(
exchangeAddress: {is: "0x10908C875D865C66f271F5d3949848971c9595C9"}
options: {asc: "timeInterval.minute"}
date: {since: $since, till: $till}
baseCurrency: {is: $baseCurrency}
quoteCurrency: {is: $quoteCurrency}
) {
timeInterval {
minute(count: $window, format: "%Y-%m-%dT%H:%M:%SZ")
}
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
exchange {
address {
address
}
fullName
}
}
}
}
Variables
{
"baseCurrency": "0xcC1B9517460D8aE86fe576f614d091fCa65a28Fc",
"since": "2022-01-21T01:03:00Z",
"till": "2022-02-11T00:05:00Z",
"quoteCurrency": "0xc1c93D475dc82Fe72DBC7074d55f5a734F8cEEAE",
"window": 1
}
Similar queries
- trades · Ethereum · DEXTrades
- matic_DEXTrades · Polygon · DEXTrades
- prediction_dextrades · Polygon · DEXTrades
- matic MAPU trades · Polygon · DEXTrades
- List of DEX supported · Polygon · DEXTrades