Query editor
WITHtrades AS (SELECTblock_time,date_trunc('{{Chart Resolution}}', block_time) AS block_date,blockchain,type,posId,direction,market,marketType,tokenId,collateralDelta,sizeDelta,averagePrice,price,fee,pnl,fundingFee,borrowFee,user,tx_hashFROMquery_4086080WHEREblockchain = 'Arbitrum'),vaultInteractions AS (SELECTblock_time,date_trunc('{{Chart Resolution}}', block_time) AS block_date,blockchain,NULL AS type,NULL AS posId,NULL AS direction,NULL AS market,NULL AS marketType,NULL AS tokenId,NULL AS collateralDelta,NULL AS sizeDelta,NULL AS averagePrice,NULL AS price,NULL AS fee,NULL AS pnl,NULL AS fundingFee,NULL AS borrowFee,user,tx_hashFROMquery_4086117WHEREblockchain = 'Arbitrum'),integrator_volume AS (SELECTdate_trunc('{{Chart Resolution}}', "Date") AS block_date,"volumeUSD" as integrator_volumeFROMquery_4060867 -- GMX referral volume query