Skip to content

Commit

Permalink
Fallback to hourly prices for SQTH if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenshively committed Sep 20, 2022
1 parent f7d101a commit c500d05
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions pipeline/meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ plugins:
quote: USDT
timeframe: 1m
start_date: '2022-09-08T00:00:00Z'
- base: OSQTH
quote: USDT
timeframe: 1h
start_date: '2022-09-08T00:00:00Z'
- id: gateio
pairs:
- base: FEI
Expand Down
4 changes: 3 additions & 1 deletion pipeline/scripts/run_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ meltano run tap-ethereum target-postgres
meltano run tap-thegraph target-postgres

# Run dbt transforms
meltano run dbt-postgres:seed dbt-postgres:run
meltano invoke dbt-postgres:deps
meltano invoke dbt-postgres:seed
meltano run dbt-postgres:seed dbt-postgres:run
2 changes: 1 addition & 1 deletion pipeline/transform/seeds/tokens.csv
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ address,chain_id,symbol,decimals
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,1,BTC,8
0x03ab458634910aad20ef5f1c8ee96f1d6ac54919,1,RAI,18
0xf4d2888d29d722226fafa5d9b24f9164c092421e,1,LOOKS,18
0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b,1,oSQTH,18
0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b,1,OSQTH,18

0 comments on commit c500d05

Please sign in to comment.