Query editor
-- need to add curve activity to thisSELECT date_trunc('day', block_time) as time, project, sum(amount_usd) as volumes, count(tx_hash) as tradesFROM dex.tradesWHERE blockchain = 'ethereum'AND (token_bought_address = 0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f OR token_sold_address = 0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f)AND block_time > date('2023-07-15')GROUP BY 1, 2