Query editor
-- Project names come from query 9093125 (Attribution: Frontend / Integration Mapping), not from lists in this query.-- To add a project, add one row to 9093125. Changed 2026-11-08 (research item C.11): the three hardcoded lists-- were moved to 9093125 unchanged; output checked identical on full history (8,645,142 rows, same volume and fees).WITH trading_data_v2 AS (SELECTblockchain, block_time, block_date, tx_hash, index, account, market, size_delta_usd, order_type, is_long, order_key, position_keyFROM gmx_v2.position_increase-- WHERE account = 0x074A2cDe5fe7Fd695668D802460cD93cbE61834dUNION ALLSELECTblockchain, block_time, block_date, tx_hash, index, account, market, size_delta_usd, order_type, is_long, order_key, position_keyFROM gmx_v2.position_decrease-- WHERE account = 0x074A2cDe5fe7Fd695668D802460cD93cbE61834d)-- SELECT COUNT(*) -- 3,567,588-- FROM trading_data_v2-- -- ORDER BY block_date ASC, trading_fees_collected AS (SELECTblockchain, block_time, block_date, tx_hash, index, trader, market, affiliate, ui_fee_receiver, order_key, position_key, referral_total_rebate_amount, referral_code, position_fee_amount * ((collateral_token_price_min + collateral_token_price_max) / 2) AS position_fee_usd