Query editor
selectdistinct(concat(project, ' v', version)) as project_version,sum(amount_usd) as trading_volume_usdfrom dex.tradeswhere blockchain = 'arbitrum'and (token_bought_address = 0x5979d7b546e38e414f7e9822514be443a4800529or token_sold_address = 0x5979d7b546e38e414f7e9822514be443a4800529)and block_date = current_date - interval '365' daygroup by 1