Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,7 @@ base_url = "https://financialmodelingprep.com/api/v3/"
|
|
22 |
# Get today's date and add 3 months to it
|
23 |
# Convert both today's date and the 3 months later date to strings (for input into API endpoint URL later)
|
24 |
# This is the date range within which we want to get our earnings dates
|
|
|
25 |
today = datetime.datetime.today()
|
26 |
today_string = today.strftime('%Y-%m-%d')
|
27 |
future_string = (today + relativedelta(months=3)).strftime('%Y-%m-%d')
|
|
|
22 |
# Get today's date and add 3 months to it
|
23 |
# Convert both today's date and the 3 months later date to strings (for input into API endpoint URL later)
|
24 |
# This is the date range within which we want to get our earnings dates
|
25 |
+
|
26 |
today = datetime.datetime.today()
|
27 |
today_string = today.strftime('%Y-%m-%d')
|
28 |
future_string = (today + relativedelta(months=3)).strftime('%Y-%m-%d')
|