one month
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def get_last_one_month_data():
|
|
52 |
query2 = f"""
|
53 |
SELECT *
|
54 |
FROM read_parquet('./data/all_trades_profitability.parquet')
|
55 |
-
WHERE
|
56 |
"""
|
57 |
df2 = con.execute(query2).fetchdf()
|
58 |
logger.info("Got last one month data from all_trades_profitability.parquet")
|
|
|
52 |
query2 = f"""
|
53 |
SELECT *
|
54 |
FROM read_parquet('./data/all_trades_profitability.parquet')
|
55 |
+
WHERE creation_timestamp >= '{one_months_ago}'
|
56 |
"""
|
57 |
df2 = con.execute(query2).fetchdf()
|
58 |
logger.info("Got last one month data from all_trades_profitability.parquet")
|