File size: 605 Bytes
3041696 c840d0d aab0a9b c3fc9c2 aab0a9b c840d0d e67fca4 c3fc9c2 aab0a9b c3fc9c2 aab0a9b c3fc9c2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import streamlit as st
from os import cpu_count
def app():
st.set_page_config(page_title="Algorithmic Trading Dashboard", layout="wide", initial_sidebar_state="auto",
menu_items=None, page_icon=":chart_with_upwards_trend:")
print(f"This device has {cpu_count()} CPUs")
single_test = st.Page("page/single_backtest.py", title="Run Strategy")
complete_test = st.Page("page/complete_backtest.py", title="Evaluate Strategy")
pg = st.navigation({'Algorithmic Trading Dashboard':[single_test, complete_test]})
pg.run()
if __name__ == "__main__":
app() |