OHLC price of a ILV in a specific day
Returns one DEX trade by token on Ethereum, where currency smart contract is 0x767f…ca0e, side currency smart contract is 0xdac1…1ec7 and block date is 2024-05-01: chain ID, sum of trade amount, price in USD, side currency symbol, currency symbol and count.
What it returns
- chain ID
- sum of trade amount
- price in USD
- side currency symbol
- currency symbol
- count
Filters
- currency smart contract is 0x767f…ca0e
- side currency smart contract is 0xdac1…1ec7
- block date is 2024-05-01
- trade price asymmetry is at most 0.01
The query
{
EVM(network: eth, dataset: combined) {
DEXTradeByTokens(
limit: {count: 1}
where: {Trade: {PriceAsymmetry: {le: 0.01}, Currency: {SmartContract: {is: "0x767fe9edc9e0df98e07454847909b5e959d7ca0e"}}, Side: {Currency: {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}}}, Block: {Date: {is: "2024-05-01"}}}
) {
ChainId
volume: sum(of: Trade_Amount)
Trade {
high: PriceInUSD(maximum: Trade_PriceInUSD)
low: PriceInUSD(minimum: Trade_PriceInUSD)
open: PriceInUSD(minimum: Block_Number)
close: PriceInUSD(maximum: Block_Number)
Side {
Currency {
Symbol
}
}
Currency {
Symbol
}
}
count
}
}
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens