StangFASTbase - 1 - Meteora Pools Program
    Updated 2023-10-03
    -- -- forked from base - 4 - Meteora Pools Program @ https://flipsidecrypto.xyz/edit/queries/a2c31202-f76a-4c46-8ef1-55ebc3502e0d

    -- --- Meteora Pools Program
    -- --- start date > February 2023
    -- --- 🟢 confirm ---
    -- --- AddBalanceLiquidity
    -- --- AddImbalanceLiquidity
    -- --- RemoveBalanceLiquidity
    -- --- Swap
    -- --- InitializePermissionlessPoolWithFeeTier


    -- --- 🟠 checking ---
    -- --- InitializeMint2
    -- --- Initialize
    -- --- RemoveLiquiditySingleSide
    -- --- BootstrapLiquidity

    -- --- For the swapping
    -- --- index = 0 and first array that is pool in the instruction column
    -- --- program_id = Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB

    with

    price AS
    (
    SELECT
    date_trunc( 'day' , a.recorded_hour ) AS date
    , avg( a.close ) AS price
    , a.token_address AS token
    , a.symbol AS symbol
    FROM
    solana.price.ez_token_prices_hourly a
    GROUP BY 1 , 3 , 4
    ORDER BY 1 DESC
    )
    Run a query to Download Data