-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.py
More file actions
33 lines (26 loc) · 1013 Bytes
/
Copy pathmain.py
File metadata and controls
33 lines (26 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import streamlit as st
import pandas as pd
from pathlib import Path
# streamlit
st.set_page_config(
'The Trading Dashboard by Hirawat',
'🕴️',
layout='wide',
initial_sidebar_state='expanded',
menu_items={
"Get Help": "https://github.com/hirawatt/finance-tools",
"About": "Finance tools for Capital Markets",
"Report a bug": "https://github.com/hirawatt/finance-tools/issues",
},
)
def main() -> None:
st.write("# Welcome to The Trading Dashboard")
st.page_link("pages/3_💰_portfolio_analysis.py", label="🚀 Co-Pilot", use_container_width=True)
st.page_link("pages/1_📈_stocks_to_trade.py", label="💡 Idea Generation", use_container_width=True)
st.page_link("pages/4_🤯_surprises.py", label="🚦 Due Diligence", use_container_width=True)
st.markdown("---") # Add a separator
info = pd.read_csv('./data/info.csv')
#st.dataframe(info)
st.write(Path("DATA.md").read_text())
if __name__ == "__main__":
main()