Query editor
SELECTDATE("date") AS date,volume,market_cap,total_device,avg(volume) over (order bydate rows between 15 precedingand 15 following) as volume_moving_avg,avg(market_cap) over (order bydate rows between 15 precedingand 15 following) as market_cap_ma,(cast(total_device as double) / lag(total_device) over (order bydate) - 1) as devices_change_pctfromdune.iotex_devrel.dataset_depinscan_daily