flyingfishTotals By Token
    Updated 7 hours ago
    with get_data AS (
    SELECT
    livequery.live.udf_api(
    'GET',
    'https://science.flipsidecrypto.xyz/googlesheets/readsheet',
    { 'Content-Type': 'application/json' },
    {
    'sheets_id' : '1QMy-OCO8NFtb7chUXcAvWARPkgpvmK9Y5K0tXpMEGUI',
    'tab_name' : 'byToken'
    }
    ) as response
    )
    , my_data AS (
    SELECT
    value:date_str::date AS date
    , value:positionMint::string AS pool_mint
    , value:pool_token AS pool_token
    , value:increase_calls::integer AS increase_calls
    , value:inc_users::integer AS inc_users
    , value:opens::integer AS opens
    , value:add_collateral_actions::integer AS add_collateral_actions
    , value:added_collateral::float AS added_collateral
    , value:long_collateral::float AS long_collateral
    , value:short_collateral::float AS short_collateral
    , value:increase_fees_usd::float AS increase_fees_usd
    , value:positions::integer AS positions
    , value:longs::integer AS longs
    , value:shorts::integer AS shorts
    , value:inc_position_size_usd::float AS inc_position_size_usd
    , value:inc_long_position_size_usd::float AS inc_long_position_size_usd
    , value:inc_short_position_size_usd::float AS inc_short_position_size_usd
    , value:decrease_calls::integer AS decrease_calls
    , value:reduce_collateral_actions::integer AS reduce_collateral_actions
    , value:full_close_actions::integer AS full_close_actions
    , value:decrease_long_actions::integer AS decrease_long_actions
    , value:decrease_short_actions::integer AS decrease_short_actions
    Last run: about 7 hours ago
    POOL_TOKEN
    OI
    TOTAL_PERPS_FEES
    LONG_OI
    SHORT_OI
    LONGS_RATIO
    1
    SOL
    245,543,633.1 355,462,976. 214,471,010.04 31,072,622.7687.3
    2
    ETH
    33,909,495.95 41,199,771.67 25,468,882.29 8,440,613.7375.1
    3
    BTC
    100,805,213.37 65,463,711.94 73,392,050.35 27,413,162.3372.8
    3
    352B
    4s