Query editor
with batch_size_coverage as (selectnum_trades,count(*) as sample_size,sum(fee_value) as fees,sum(tx_cost_usd) as cost,sum(fee_value) / sum(tx_cost_usd) as cost_coveragefromgnosis_protocol_v2."batches"whereblock_time > '2022-03-01'group bynum_tradesorder by num_trades)select * from batch_size_coverage where sample_size > '{{MinSampleSize}}'