Spaces:
Sleeping
Sleeping
Coder commited on
Commit ·
9eb841a
1
Parent(s): 34647a1
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}/-**   Stoploss: ₹{latest_forecast['yhat_lower']:.2f}   Traget: {latest_forecast['yhat_upper']:.2f}")
|
| 93 |
-
st.success(f"
|
| 94 |
elif sentiment == 'Negative':
|
| 95 |
-
st.error(f"**Prediction: ₹{latest_forecast['yhat']:.2f}/-**   Stoploss: ₹{latest_forecast['yhat_lower']:.2f}   Traget: {latest_forecast['yhat_upper']:.2f}")
|
| 96 |
-
st.error(f"
|
| 97 |
else:
|
| 98 |
-
st.info(f"**Prediction: ₹{latest_forecast['yhat']:.2f}/-**   Stoploss: ₹{latest_forecast['yhat_lower']:.2f}   Traget: {latest_forecast['yhat_upper']:.2f}")
|
| 99 |
-
st.info(f"
|
| 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}/-**      Stoploss: ₹{latest_forecast['yhat_lower']:.2f}      Traget: {latest_forecast['yhat_upper']:.2f}")
|
| 93 |
+
st.success(f"...valid for {forecast_horizon.lower()} time frame")
|
| 94 |
elif sentiment == 'Negative':
|
| 95 |
+
st.error(f"**Prediction: ₹{latest_forecast['yhat']:.2f}/-**      Stoploss: ₹{latest_forecast['yhat_lower']:.2f}      Traget: {latest_forecast['yhat_upper']:.2f}")
|
| 96 |
+
st.error(f"...valid for {forecast_horizon.lower()} time frame")
|
| 97 |
else:
|
| 98 |
+
st.info(f"**Prediction: ₹{latest_forecast['yhat']:.2f}/-**      Stoploss: ₹{latest_forecast['yhat_lower']:.2f}      Traget: {latest_forecast['yhat_upper']:.2f}")
|
| 99 |
+
st.info(f"...valid for {forecast_horizon.lower()} time frame")
|
| 100 |
|
| 101 |
st.markdown(f"""
|
| 102 |
**Find below the prediction Data for the {forecast_horizon.lower()}:**
|