Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -71,9 +71,9 @@ if tickerSymbol:
|
|
71 |
df = tickerDf[tickerDf["Date"]==date_str]
|
72 |
st.write(df)
|
73 |
|
74 |
-
if (
|
75 |
st.write("NSE has uptrend on " +date_str )
|
76 |
-
if (
|
77 |
st.write(" NSE has downdtrend on " +date_str )
|
78 |
|
79 |
|
|
|
71 |
df = tickerDf[tickerDf["Date"]==date_str]
|
72 |
st.write(df)
|
73 |
|
74 |
+
if (df["Close"][0] > df["Open"][0] ):
|
75 |
st.write("NSE has uptrend on " +date_str )
|
76 |
+
if (df["Close"][0] < df["Open"][0] ):
|
77 |
st.write(" NSE has downdtrend on " +date_str )
|
78 |
|
79 |
|