Skip to content

Commit

Permalink
fix eth
Browse files Browse the repository at this point in the history
  • Loading branch information
Tburm committed Dec 13, 2024
1 parent bff1b4b commit 13ae68f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ with pnl_hourly as (
partition by pool_id, collateral_type
order by ts
) as cumulative_pnl
from {{ ref('fct_pool_pnl_hourly_base_mainnet') }}
from {{ ref('fct_pool_pnl_hourly_eth_mainnet') }}
),

avg_returns as (
Expand Down Expand Up @@ -119,7 +119,7 @@ apr_calculations as (
pnl_hourly.ts = avg_returns.ts
and pnl_hourly.pool_id = avg_returns.pool_id
and pnl_hourly.collateral_type = avg_returns.collateral_type
left join {{ ref('fct_token_yields_base_mainnet') }} as yr
left join {{ ref('fct_token_yields_eth_mainnet') }} as yr
on
pnl_hourly.ts = yr.ts
and pnl_hourly.pool_id = yr.pool_id
Expand Down

0 comments on commit 13ae68f

Please sign in to comment.