Query editor
select *,case when token_sold_symbol='OP' then -1 else 1 end as side_num,case when token_sold_symbol='OP' then amount_usd/token_sold_amountelse amount_usd/token_bought_amountend as pxfrom dex.tradeswhere project = 'sushiswap'and block_time >= cast('2022-05-30' as timestamp)and block_date <= cast('2022-06-04' as timestamp)--and token_pair = 'OP-USDC'order by block_timelimit 100