Query editor
SELECTDATE_TRUNC('day', evt_block_time) AS daily,SUM(protocolEthAmount)/1e18 AS protocol_fees,SUM(SUM(protocolEthAmount)/1e18) OVER (ORDER BY DATE_TRUNC('day', evt_block_time)) AS cumulative_feesFROMfriendtech_base.FriendtechSharesV1_evt_TradeGROUP BY1ORDER BYdaily DESC;