Abishek_TL2024-01-22 12:14 PM
    Updated 2024-01-30
    select ARB_price, a1.dt, OP_price, Matic_price
    from
    (select cast(t.hour as date) as dt, avg(price) as ARB_price
    from
    arbitrum.price.ez_hourly_token_prices t
    where symbol = 'ARB' and hour BETWEEN '2023-09-01 00:00:00.000' and '2024-01-25 00:00:00.000'
    group by cast(t.hour as date)
    order by cast(t.hour as date) asc) as a1 inner join
    (select cast(t.hour as date) as dt, avg(price) as OP_price
    from
    optimism.price.ez_hourly_token_prices t
    where symbol = 'OP' and hour BETWEEN '2023-09-15 00:00:00.000' and '2024-01-15 00:00:00.000'
    group by cast(t.hour as date)
    order by cast(t.hour as date) asc)as a2 inner JOIN
    (select cast(t.hour as date) as dt, avg(price) as Matic_price
    from
    polygon.price.ez_hourly_token_prices t
    where symbol = 'MATIC' and hour BETWEEN '2023-09-15 00:00:00.000' and '2024-01-15 00:00:00.000'
    group by cast(t.hour as date)
    order by cast(t.hour as date) asc) as a3
    on a1.dt=a2.dt and a2.dt=a3.dt
    Last run: about 1 year ago
    ARB_PRICE
    DT
    OP_PRICE
    MATIC_PRICE
    1
    0.80922608332023-09-17 00:00:00.0001.3716666670.52154
    2
    0.82038079172023-09-18 00:00:00.0001.3966666670.5253956667
    3
    0.83267054172023-09-21 00:00:00.0001.32750.53073425
    4
    0.84057483332023-09-19 00:00:00.0001.3866666670.535988125
    5
    0.85143120832023-09-20 00:00:00.0001.3820833330.5418222917
    6
    1.1044166672023-12-20 00:00:00.0002.198750.77685225
    7
    1.1272023-12-21 00:00:00.0002.3533333330.78871625
    8
    0.79928258332023-09-15 00:00:00.0001.3895833330.522502
    9
    0.82223241672023-09-16 00:00:00.0001.4008333330.5286900833
    10
    1.1127916672023-12-17 00:00:00.0002.1241666670.8355414583
    11
    1.0786252023-12-18 00:00:00.0002.1054166670.7891527083
    12
    0.8111582023-09-25 00:00:00.0001.2554166670.5149865
    13
    0.8174776252023-09-26 00:00:00.0001.2683333330.5181585833
    14
    1.0955416672023-12-19 00:00:00.0002.1766666670.7868717083
    15
    1.2238042412023-12-22 00:00:00.0002.9279428940.816952
    16
    1.2509400082023-12-23 00:00:00.0003.2650595490.816952
    17
    1.0767083332023-12-05 00:00:00.0001.766250.801162875
    18
    1.0782023-12-06 00:00:00.0001.768750.8263560417
    19
    1.1311252023-11-16 00:00:00.0001.8408333330.8961752917
    20
    1.5520833332023-12-28 00:00:00.0003.7866666671.024098625
    ...
    123
    7KB
    3s