OHLC_FOR_CAKE_BUSD_USDC
Returns 2000 DEX trades on Ethereum and BNB Chain, where exchange address is 0xcA14…0c73, time since 2022-03-13 and time till 2022-04-12, sorted by time interval day: day, base currency symbol, base currency address, quote currency symbol, quote currency address, trade amount, quote amount and 4 more fields.
What it returns
- day
- base currency symbol
- base currency address
- quote currency symbol
- quote currency address
- trade amount
- quote amount
- count
- quote price
- minimum of block
- maximum of block
Filters
- exchange address is 0xcA14…0c73
- time since 2022-03-13
- time till 2022-04-12
The query
query ($network: EthereumNetwork!, $baseAddress: String!, $quoteAddress: String!, $exchangeAddress: String!,$since: ISO8601DateTime!, $connector1: String!, $till: ISO8601DateTime!) {
ethereum(network: $network) {
dexTrades(
any: [{baseCurrency: {is: $baseAddress},
quoteCurrency: {is: $connector1}},
{baseCurrency: {is: $connector1},
quoteCurrency: {is: $quoteAddress}}]
time: {since: $since, till: $till}
options: {limit: 2000 , asc: "timeInterval.day"}
exchangeAddress: {is: $exchangeAddress}
) {
timeInterval {
day(count: 1)
}
baseCurrency: baseCurrency {
symbol
address
}
quoteCurrency: quoteCurrency {
symbol
address
}
tradeAmount(in: USD)
volume: quoteAmount
trades: count
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
}
}
}
Variables
{"since": "2022-03-13T00:00:00.000Z",
"till": "2022-04-12T00:00:00.000Z",
"baseAddress":"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",
"quoteAddress":"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
"connector1":"0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56",
"exchangeAddress":"0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73",
"network":"bsc"
}
Similar queries
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades
- Top DODO liquidity pools by 24h volume on BSC · BNB Chain · DEXTrades
- trades · Ethereum · DEXTrades
- metric_v1_bsc · BNB Chain · DEXTrades
- bsc_tessera · BNB Chain · DEXTrades