Query editor
SELECT DATE_TRUNC('day', block_time) as day, SUM(shares/2) as "Notional Volume", SUM(SUM(shares/2)) OVER (ORDER BY DATE_TRUNC('day', block_time)) as "Cumulative Notional Volume" FROM polymarket_polygon.market_tradesWHERE event_market_name = 'Next Prime Minister of Ethiopia?'GROUP BY 1