Spaces:
Sleeping
Sleeping
Coder
commited on
Commit
·
a9aa27e
1
Parent(s):
ade225c
initial commit
Browse files
app.py
CHANGED
@@ -89,14 +89,14 @@ def main():
|
|
89 |
st.warning(f'The last available adjusted closing price for {ticker_symbol} on {end_date.strftime("%d %B %Y")} is **₹{actual_last_price:.2f}**.')
|
90 |
|
91 |
if sentiment == 'Positive':
|
92 |
-
st.success(f"**Prediction: ₹{latest_forecast['yhat']:.2f}
|
93 |
-
st.success(f"**Stoploss: ₹{latest_forecast['yhat_lower']:.2f} Traget: {latest_forecast['yhat_upper']:.2f}.**")
|
94 |
elif sentiment == 'Negative':
|
95 |
-
st.error(f"**Prediction: ₹{latest_forecast['yhat']:.2f}
|
96 |
-
st.error(f"**Stoploss: ₹{latest_forecast['yhat_lower']:.2f} Traget: {latest_forecast['yhat_upper']:.2f}.**")
|
97 |
else:
|
98 |
-
st.info(f"**Prediction: ₹{latest_forecast['yhat']:.2f}
|
99 |
-
st.info(f"**Stoploss: ₹{latest_forecast['yhat_lower']:.2f} Traget: {latest_forecast['yhat_upper']:.2f}.**")
|
100 |
|
101 |
st.markdown(f"""
|
102 |
**Find below the prediction Data for the {forecast_horizon.lower()}:**
|
|
|
89 |
st.warning(f'The last available adjusted closing price for {ticker_symbol} on {end_date.strftime("%d %B %Y")} is **₹{actual_last_price:.2f}**.')
|
90 |
|
91 |
if sentiment == 'Positive':
|
92 |
+
st.success(f"**Prediction: ₹{latest_forecast['yhat']:.2f}/-**   ...valid for {forecast_horizon.lower()} time frame")
|
93 |
+
st.success(f"**Stoploss: ₹{latest_forecast['yhat_lower']:.2f}   Traget: {latest_forecast['yhat_upper']:.2f}.**")
|
94 |
elif sentiment == 'Negative':
|
95 |
+
st.error(f"**Prediction: ₹{latest_forecast['yhat']:.2f}/-**   ...valid for {forecast_horizon.lower()} time frame")
|
96 |
+
st.error(f"**Stoploss: ₹{latest_forecast['yhat_lower']:.2f}   Traget: {latest_forecast['yhat_upper']:.2f}.**")
|
97 |
else:
|
98 |
+
st.info(f"**Prediction: ₹{latest_forecast['yhat']:.2f}/-**   ...valid for {forecast_horizon.lower()} time frame")
|
99 |
+
st.info(f"**Stoploss: ₹{latest_forecast['yhat_lower']:.2f}   Traget: {latest_forecast['yhat_upper']:.2f}.**")
|
100 |
|
101 |
st.markdown(f"""
|
102 |
**Find below the prediction Data for the {forecast_horizon.lower()}:**
|