Query editor
WITHv2_trade_on_polygon AS (SELECTu.quote AS quote,t.evt_block_time,(t.price / 1e18) * ABS(t.takeSize / 1e18) AS quote_volume,p.price as priceFROMsynfutures_v2_polygon.Underlying_evt_Trade tLEFT JOIN synfutures_v2_polygon.Router_evt_NewUnderlying u ON t.contract_address = u.underlyingLEFT JOIN prices.usd p ON p.contract_address = u.quoteAND Date(t.evt_block_time) = p.minuteAND p.blockchain = 'polygon')SELECT-- 18731804425 is v1's all time volume, refer: https://dune.com/queries/3135574/5229521SUM(quote_volume * price) + 18731804425 as volumeFROMv2_trade_on_polygon