Query editor
withethhai as (selecttime,pricefrom"query_3501642(days='{{days}}')"wherelabel = 'ethhai'),ethusd as (selecttime,pricefrom"query_3501642(days='{{days}}')"wherelabel = 'ethusd'),rp as (selectDATE_TRUNC('hour', time) as time,avg(price) as pricefromquery_3501625group by1),cl as (select DATE_TRUNC('hour', time) as time,pricefrom query_5611803),merged as (selectu.time as time,u.price as eu,sum(casewhen u.price is null then 0else 1end) over (order byu.time) as euFilled,h.price as eh,sum(casewhen h.price is null then 0else 1end) over (order byu.time) as ehFilled,rp.price as rp,sum(casewhen rp.price is null then 0