Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,10 +58,15 @@ if tickerSymbol:
|
|
58 |
st.header('**Volume Bar Chart**')
|
59 |
st.plotly_chart(fig_volume)
|
60 |
|
|
|
|
|
61 |
tickerDf = pd.DataFrame(tickerDf).reset_index()
|
62 |
-
singleDf = tickerDf[tickerDf["Date"]==
|
|
|
63 |
st.write(singleDf)
|
64 |
|
|
|
|
|
65 |
else:
|
66 |
st.warning("Please enter a valid Stock Ticker Symbol.")
|
67 |
|
|
|
58 |
st.header('**Volume Bar Chart**')
|
59 |
st.plotly_chart(fig_volume)
|
60 |
|
61 |
+
date_obj = datetime.date(start_date)
|
62 |
+
date_str = date_obj.strftime("%Y-%m-%d")
|
63 |
tickerDf = pd.DataFrame(tickerDf).reset_index()
|
64 |
+
singleDf = tickerDf[tickerDf["Date"]==date_str]
|
65 |
+
#if singleDf["c"]
|
66 |
st.write(singleDf)
|
67 |
|
68 |
+
|
69 |
+
|
70 |
else:
|
71 |
st.warning("Please enter a valid Stock Ticker Symbol.")
|
72 |
|