Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhong5297 committed Nov 29, 2023
1 parent 09bfbe8 commit 44abfb0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions queries/query_3237738.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@
-- query link: https://dune.com/queries/3237738


SELECT
project,
DATE_TRUNC('week', block_time),
SUM(CAST(amount_usd AS DOUBLE)) AS usd_volume
FROM
dex."trades" AS t /* AND block_time < date_trunc('week', Now()) -- Add this line to see stats from current week */
WHERE
block_time > NOW() - INTERVAL '365' day
GROUP BY
1,
2
-- Weekly DEX volume
SELECT
project,
DATE_TRUNC('week', block_time),
Expand Down
12 changes: 0 additions & 12 deletions queries/query_3237742.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@
-- query link: https://dune.com/queries/3237742


SELECT
project,
DATE_TRUNC('week', block_time),
SUM(CAST(amount_usd AS DOUBLE)) AS usd_volume
FROM
dex_aggregator.trades AS t /* AND block_time < date_trunc('week', Now()) -- Add this line to see stats from current week */
WHERE
block_time > NOW() - INTERVAL '365' day
GROUP BY
1,
2
-- Weekly DEX Aggregator volume
SELECT
project,
DATE_TRUNC('week', block_time),
Expand Down

0 comments on commit 44abfb0

Please sign in to comment.