Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ st.write('---')
|
|
18 |
# Sidebar
|
19 |
st.sidebar.subheader('Query parameters')
|
20 |
start_date = st.sidebar.date_input("Start date", datetime.date(2019, 1, 1))
|
21 |
-
end_date = start_date + datetime.timedelta(days=
|
22 |
|
23 |
# User input for the stock ticker symbol
|
24 |
tickerSymbol = st.sidebar.text_input('Enter Stock Ticker Symbol')
|
@@ -63,7 +63,8 @@ if tickerSymbol:
|
|
63 |
tickerDf = pd.DataFrame(tickerDf).reset_index()
|
64 |
|
65 |
st.write(tickerDf)
|
66 |
-
|
|
|
67 |
#date = datetime.date(start_date)
|
68 |
date_str = start_date.strftime("%Y-%m-%d")
|
69 |
st.write(date_str)
|
|
|
18 |
# Sidebar
|
19 |
st.sidebar.subheader('Query parameters')
|
20 |
start_date = st.sidebar.date_input("Start date", datetime.date(2019, 1, 1))
|
21 |
+
end_date = start_date + datetime.timedelta(days=4)
|
22 |
|
23 |
# User input for the stock ticker symbol
|
24 |
tickerSymbol = st.sidebar.text_input('Enter Stock Ticker Symbol')
|
|
|
63 |
tickerDf = pd.DataFrame(tickerDf).reset_index()
|
64 |
|
65 |
st.write(tickerDf)
|
66 |
+
|
67 |
+
start_date = start_date + datetime.timedelta(days=1)
|
68 |
#date = datetime.date(start_date)
|
69 |
date_str = start_date.strftime("%Y-%m-%d")
|
70 |
st.write(date_str)
|