Query editor
selectmaker, pair,count(*) as positions,round(sum(volume_usd),0) as volume_usd,round(sum(spread_yield_usd),0) as spread_usd,round(sum(total_yield_usd),0) as total_yield_usd,round(approx_percentile(range_width_pct,0.5),3) as median_range_pct,round(approx_percentile(fee_pct,0.5),4) as median_fee_pct,round(sum(volume_usd)/nullif(sum(capital_days),0),2) as velocityfrom query_8308889where maker in (0x8f61ee081111e6bce0301a4bd5567d02322c8f9f, 0x3bb5c8a00190da68059f0f66c24794584eb10d07)and not unbounded and shipped_at >= current_date - interval '2' daygroup by 1,2order by maker, total_yield_usd desc