TheLaughingManretention plots
    Updated 2025-04-11
    -- forked from new vs old traffic @ https://flipsidecrypto.xyz/studio/queries/32c825b6-9c3d-467a-811e-23cbd25bb896

    -- forked from new users by instance @ https://flipsidecrypto.xyz/studio/queries/c8ac5c1a-c63d-4c2f-bb3c-8bf718b0822c

    -- forked from new users @ https://flipsidecrypto.xyz/studio/queries/1a856392-7af8-4ad9-96ee-909b0154fe62

    with merge_all_time as (
    ---arbitrum
    SELECT * EXCLUDE version, 'arbitrum' as label from arbitrum.vertex.ez_perp_trades
    WHERE 1=1
    --AND block_timestamp::date BETWEEN '{{start_date}}' AND '{{end_date}}'
    AND trader != '0x0000000000000000000000000000000000000000'
    AND subaccount!='0x0000000000000000000000000000000000000000000000000000000000000001'
    UNION ALL
    ---base
    SELECT *, 'base' as label from base.vertex.ez_perp_trades
    WHERE 1=1
    --AND block_timestamp::date BETWEEN '{{start_date}}' AND '{{end_date}}'
    AND trader != '0x0000000000000000000000000000000000000000'
    AND subaccount!='0x0000000000000000000000000000000000000000000000000000000000000001'

    UNION ALL
    ---blitz
    SELECT * , 'blitz' as label from blast.blitz.ez_perp_trades
    WHERE 1=1
    --AND block_timestamp::date BETWEEN '{{start_date}}' AND '{{end_date}}'
    AND trader != '0x0000000000000000000000000000000000000000'
    AND subaccount!='0x0000000000000000000000000000000000000000000000000000000000000001'

    UNION ALL
    ---mantle
    SELECT * , 'mantle' as label from mantle.vertex.ez_perp_trades
    WHERE 1=1
    --AND block_timestamp::date BETWEEN '{{start_date}}' AND '{{end_date}}'
    AND trader != '0x0000000000000000000000000000000000000000'
    Last run: 16 days ago
    BATCH
    WEEKS_SINCE
    RETENTION_PCT
    NEW_USERS
    EXISTING_USERS
    1
    01-0680.01671
    2
    01-0620.03672
    3
    01-06110.01671
    4
    01-0630.1677
    5
    01-0640.03672
    6
    01-0610.156710
    7
    01-0660.03672
    8
    01-0670.06674
    9
    01-0650.03672
    10
    01-0690.04673
    11
    01-06100.04673
    12
    01-1330.13618
    13
    01-1360.08615
    14
    01-13110.02611
    15
    01-13100.08615
    16
    01-1390.08615
    17
    01-1350.1616
    18
    01-1320.11617
    19
    01-1340.11617
    20
    01-1380.07614
    90
    2KB
    46s