From a90828eeb47a22a43e5e1cd717d4038332327856 Mon Sep 17 00:00:00 2001 From: "Bobby (aider)" Date: Mon, 17 Feb 2025 15:05:32 -0800 Subject: [PATCH] feat: Integrate Monte Carlo Analysis page into Streamlit app navigation --- src/streamlit_app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/streamlit_app.py b/src/streamlit_app.py index 492dba4..1212240 100644 --- a/src/streamlit_app.py +++ b/src/streamlit_app.py @@ -8,6 +8,7 @@ from pages.screener.technical_scanner_page import technical_scanner_page from pages.trading.trading_system_page import trading_system_page from pages.trading.trading_plan_page import trading_plan_page from pages.backtesting.backtesting_page import backtesting_page +from pages.analysis.monte_carlo_page import monte_carlo_page from trading.journal import ( create_trades_table, get_open_trades, get_trade_history, get_latest_portfolio_value, update_portfolio_value @@ -31,7 +32,7 @@ def main(): st.sidebar.title("Navigation") st.session_state.page = st.sidebar.radio( "Go to", - ["Strategy Guide", "Trading Journal", "Technical Scanner", "CANSLIM Screener", "Trading System", "Trading Plans", "Backtesting"] + ["Strategy Guide", "Trading Journal", "Technical Scanner", "CANSLIM Screener", "Trading System", "Trading Plans", "Backtesting", "Monte Carlo Analysis"] ) # Create necessary tables @@ -53,6 +54,8 @@ def main(): trading_plan_page() elif st.session_state.page == "Backtesting": backtesting_page() + elif st.session_state.page == "Monte Carlo Analysis": + monte_carlo_page() if __name__ == "__main__": main()