Nazhar commited on
Commit
b76e245
·
verified ·
1 Parent(s): b87cc3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -8
app.py CHANGED
@@ -76,12 +76,12 @@ col2.title("AI Equity Advisor")
76
  c1, c2 = col2.columns([0.5, 0.5], gap="large")
77
  c1.markdown("Powered by GenInstigators")
78
  # Display disclaimer text using markdown
79
- title_container.markdown("""
80
- <div style='background-color:#b43c42; color:#ffffff; padding:8px; border-radius:3px; font-size:12px''>
81
- <strong>Disclaimer:</strong> For demo purpose, the tool is currently populated with 10 months (Nov 2020 - Aug 2021) news and historical data of oil sector (OGDC) from PSX.
82
- This data is intended to illustrate the tool's functionality and is not intended for actual investment decisions.
83
- </div>
84
- """, unsafe_allow_html=True)
85
  # Load data
86
  data_file_path = r"technicalRecommendation.csv" # Update this with your file path
87
  data = pd.read_csv(data_file_path)
@@ -258,6 +258,13 @@ with market_analysis:
258
  st.plotly_chart(fig)
259
  # st.write(data2)
260
 
 
 
 
 
 
 
 
261
  with news_analysis:
262
  st.header("News Analysis")
263
  st.write("This module provides news based event impact for the following day based on the current date.")
@@ -438,7 +445,13 @@ with news_analysis:
438
  # st.divider()
439
  with st.expander("Oil Sector Features"):
440
  st.write(set(features))
441
-
 
 
 
 
 
 
442
  # with trade_recs:
443
  # st.header("Trading Recommendations")
444
 
@@ -708,7 +721,12 @@ with final_recs:
708
  figure.update_yaxes(fixedrange=False)
709
  st.plotly_chart(figure)
710
 
711
-
 
 
 
 
 
712
 
713
  with chat:
714
  st.header("Chat with AI Stock Advisor")
 
76
  c1, c2 = col2.columns([0.5, 0.5], gap="large")
77
  c1.markdown("Powered by GenInstigators")
78
  # Display disclaimer text using markdown
79
+ # title_container.markdown("""
80
+ # <div style='background-color:#b43c42; color:#ffffff; padding:8px; border-radius:3px; font-size:12px''>
81
+ # <strong>Disclaimer:</strong> For demo purpose, the tool is currently populated with 10 months (Nov 2020 - Aug 2021) news and historical data of oil sector (OGDC) from PSX.
82
+ # This data is intended to illustrate the tool's functionality and is not intended for actual investment decisions.
83
+ # </div>
84
+ # """, unsafe_allow_html=True)
85
  # Load data
86
  data_file_path = r"technicalRecommendation.csv" # Update this with your file path
87
  data = pd.read_csv(data_file_path)
 
258
  st.plotly_chart(fig)
259
  # st.write(data2)
260
 
261
+ st.markdown("""
262
+ <div style='background-color:#b43c42; color:#ffffff; padding:8px; border-radius:3px; font-size:12px''>
263
+ <strong>Disclaimer:</strong> For demo purpose, the tool is currently populated with 10 months (Nov 2020 - Aug 2021) news and historical data of oil sector from PSX.
264
+ This data is intended to illustrate the tool's functionality and is not intended for actual investment decisions.
265
+ </div>
266
+ """, unsafe_allow_html=True)
267
+
268
  with news_analysis:
269
  st.header("News Analysis")
270
  st.write("This module provides news based event impact for the following day based on the current date.")
 
445
  # st.divider()
446
  with st.expander("Oil Sector Features"):
447
  st.write(set(features))
448
+
449
+ st.markdown("""
450
+ <div style='background-color:#b43c42; color:#ffffff; padding:8px; border-radius:3px; font-size:12px''>
451
+ <strong>Disclaimer:</strong> For demo purpose, the tool is currently populated with 10 months (Nov 2020 - Aug 2021) news and historical data of oil sector from PSX.
452
+ This data is intended to illustrate the tool's functionality and is not intended for actual investment decisions.
453
+ </div>
454
+ """, unsafe_allow_html=True)
455
  # with trade_recs:
456
  # st.header("Trading Recommendations")
457
 
 
721
  figure.update_yaxes(fixedrange=False)
722
  st.plotly_chart(figure)
723
 
724
+ st.markdown("""
725
+ <div style='background-color:#b43c42; color:#ffffff; padding:8px; border-radius:3px; font-size:12px''>
726
+ <strong>Disclaimer:</strong> For demo purpose, the tool is currently populated with 10 months (Nov 2020 - Aug 2021) news and historical data of oil sector from PSX.
727
+ This data is intended to illustrate the tool's functionality and is not intended for actual investment decisions.
728
+ </div>
729
+ """, unsafe_allow_html=True)
730
 
731
  with chat:
732
  st.header("Chat with AI Stock Advisor")