Skip to content

Commit

Permalink
quote it
Browse files Browse the repository at this point in the history
  • Loading branch information
green-jay committed Aug 14, 2023
1 parent 6066e2b commit 3f8fdd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion queries/hydradx-ui/v1/stats/tvl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ src_data AS (
lrna_every_block leb, launch
)
SELECT
s.start as timestamp,
s.start as "timestamp",
round(sum(oa.hub_reserve/10^12 * src.last_lrna_price)) as tvl_usd
FROM
src_data src
Expand Down
4 changes: 2 additions & 2 deletions queries/hydradx-ui/v1/stats/volume.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Returns 30 rows with volume in USD, one daily for last 30d, last record is for y

WITH CombinedQuery AS (
SELECT
timestamp::date as timestamp,
timestamp::date as "timestamp",
round(sum(volume_usd)/2) as volume_usd,
'daily' as type
FROM
Expand All @@ -27,7 +27,7 @@ WITH CombinedQuery AS (
GROUP BY 1
UNION ALL
SELECT
date_trunc('hour', timestamp) as timestamp,
date_trunc('hour', timestamp) as "timestamp",
round(sum(volume_usd)/2) as volume_usd,
'hourly' as type
FROM
Expand Down

0 comments on commit 3f8fdd5

Please sign in to comment.