Skip to content

Commit

Permalink
comment out total market cap data
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeak4 committed Nov 15, 2023
1 parent 3b430d6 commit 8c5e090
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
FLASK_ENV=development
POSTGRES_URL=
REDIS_URL=redis://cache:6379
REDDIT_CLIENT_ID=
Expand Down
13 changes: 7 additions & 6 deletions src/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,13 @@ def total_mentions(conn, time_period):


def total_market_cap_by_time_period():
return {
"week": list(map(str, total_market_cap("week"))),
"month": list(map(str, total_market_cap("month"))),
"quarter": list(map(str, total_market_cap("quarter"))),
"year": list(map(str, total_market_cap("year"))),
}
# return {
# "week": list(map(str, total_market_cap("week"))),
# "month": list(map(str, total_market_cap("month"))),
# "quarter": list(map(str, total_market_cap("quarter"))),
# "year": list(map(str, total_market_cap("year"))),
# }
return {"week": 0, "month": 0, "quarter": 0, "year": 0} # TODO: fix total market cap


def total_market_cap(time_period):
Expand Down

0 comments on commit 8c5e090

Please sign in to comment.