Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wes/dydx pricing data #598

Merged
merged 6 commits into from
Nov 8, 2024
Merged

Wes/dydx pricing data #598

merged 6 commits into from
Nov 8, 2024

Conversation

alexwes
Copy link
Contributor

@alexwes alexwes commented Nov 8, 2024

DBT Models for dYdX v4 pricing data.

Includes decoding Bigquery data + transforming to ez table.

@alexwes alexwes requested a review from a team as a code owner November 8, 2024 00:03
Comment on lines 17 to 20
when date_part('DOW', convert_timezone('UTC', 'America/New_York', block_timestamp)) IN (0, 6) then 'FALSE'
when convert_timezone('UTC', 'America/New_York', block_timestamp)::time between '09:00:00' and '15:59:59' then 'TRUE'
else 'FALSE'
END AS nyc_operating_hours
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexwes Wanna make this a macro? P cool!

@alexwes alexwes merged commit b901a71 into main Nov 8, 2024
3 checks passed
@alexwes alexwes deleted the wes/dydx-pricing-data branch November 8, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants