Query editor
WITH perp_wallets AS (SELECTcreateEvent."smartWallet" AS smartWalletFROMapex_smart_wallet_v1_gnosis.SmartWalletFactory_evt_Created createEvent),all_perp_trades AS (SELECT"trader" as trader,("positionNotional")/1e18 as volume,date(evt_block_time) as _date,evt_tx_hashFROM perp_gnosis.ClearingHouse_evt_PositionChangedjoin perp_wallets won w.smartWallet = trader)select_date, count(distinct(trader))fromall_perp_tradesgroup by _dateorder by _date asc