refactor: Fix search/replace block matching in trading system page
This commit is contained in:
parent
eea63e6cbb
commit
6439412bb3
@ -10,9 +10,9 @@ def trading_system_page():
|
|||||||
portfolio_data = get_latest_portfolio_value()
|
portfolio_data = get_latest_portfolio_value()
|
||||||
default_account_size = portfolio_data['cash_balance'] if portfolio_data else 100000.0
|
default_account_size = portfolio_data['cash_balance'] if portfolio_data else 100000.0
|
||||||
|
|
||||||
col1, col2 = st.columns(2)
|
col1, col2 = st.columns(2)
|
||||||
with col1:
|
with col1:
|
||||||
account_size = st.number_input("Account Size ($)",
|
account_size = st.number_input("Account Size ($)",
|
||||||
min_value=0.0,
|
min_value=0.0,
|
||||||
value=default_account_size,
|
value=default_account_size,
|
||||||
step=1000.0)
|
step=1000.0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user