Created a financial dashboard to testdrive streamlit's python based dashboard building framework.
- Clone the repository:
$ git clone git@github.com:shwetanaren/streamlit-financial-dashboard
$ cd streamlit-financial-dashboard
- Install dependencies:
$ pip install -r requirements.txt
- Start the application:
$ streamlit run app.py
- Add a new python file in
pages/
folder with a function named app.
# pages/new_page.py
import streamlit as st
def app():
st.title('New Page')
- Import the view to
app.py
from pages import new_page # import your application pages here
app = MultiApp()
# Add all your application here
app.add_app("New Page", new_page.app)
- Display the dashboard
$ streamlit run app.py
Used the python code and ideas for project structure from the below resources.
https://github.com/upraneelnihar/streamlit-multiapps
https://towardsdatascience.com/creating-a-finance-web-app-in-3-minutes-8273d56a39f8
https://github.com/hackingthemarkets/fullstack-trading-app
https://share.streamlit.io/daniellewisdl/streamlit-cheat-sheet/app.py