Query editor
--example sell NFTwithbase as (SELECT365130751744001221/1e18 as spotprice_update,372433366778881246/1e18 as spotprice_sell, --sell is the spotprice update + delta. buy is spotprice update - delta.20000000000000000/1e18 as trade_fee_percentage,5000000000000000/1e18 as platform_fee_percentage,363122532609409214/1e18 as amount_out)SELECTspotprice_update, spotprice_sell, trade_fee_percentage, trade_fee_percentage*spotprice_sell as trade_fee, platform_fee_percentage, platform_fee_percentage*spotprice_sell as platform_fee, spotprice_sell - trade_fee_percentage*spotprice_sell - platform_fee_percentage*spotprice_sell as subtracted_out, amount_out, spotprice_sell - amount_out as spotpricesell_amountout_diffFROM base