refactor: Fix search/replace block matching in trading system page

This commit is contained in:
Bobby (aider) 2025-02-13 12:39:32 -08:00
parent eea63e6cbb
commit 6439412bb3

View File

@ -10,9 +10,9 @@ def trading_system_page():
portfolio_data = get_latest_portfolio_value()
default_account_size = portfolio_data['cash_balance'] if portfolio_data else 100000.0
col1, col2 = st.columns(2)
with col1:
account_size = st.number_input("Account Size ($)",
col1, col2 = st.columns(2)
with col1:
account_size = st.number_input("Account Size ($)",
min_value=0.0,
value=default_account_size,
step=1000.0)