Query editor
select concat('<a href="https://debank.com/profile/', cast(tx_from as varchar), '/', '" target = "blank">', cast(tx_from as varchar), '</a>') as address, round(sum(amount_usd)) as amount_bought_sold, count(distinct(tx_hash)) as transactionsfrom (select tx_from, tx_hash, amount_usdfrom dex.tradeswhere token_bought_address = 0x9F9c8ec3534c3cE16F928381372BfbFBFb9F4D24and block_time > now() - interval '24' hourunion allselect tx_from, tx_hash, -amount_usdfrom dex.tradeswhere token_sold_address = 0x9F9c8ec3534c3cE16F928381372BfbFBFb9F4D24and block_time > now() - interval '24' hour)group by tx_fromorder by amount_bought_sold asclimit 50