From 12be4262da95159f30dc8198de445e8eea1f2062 Mon Sep 17 00:00:00 2001 From: david-hummingbot <85695272+david-hummingbot@users.noreply.github.com> Date: Thu, 17 Jul 2025 19:17:43 +0800 Subject: [PATCH] clone dashboard PR#253 --- pages/config/grid_strike/user_inputs.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pages/config/grid_strike/user_inputs.py b/pages/config/grid_strike/user_inputs.py index f007b50..eae099b 100644 --- a/pages/config/grid_strike/user_inputs.py +++ b/pages/config/grid_strike/user_inputs.py @@ -183,6 +183,13 @@ def user_inputs(): format="%.4f", help="Price movement percentage for stop loss (0 for none)" ) + + # Keep position parameter + keep_position = st.checkbox( + "Keep Position", + value=False, + help="Keep the position open after grid execution" + ) # Chart configuration with st.expander("Chart Configuration", expanded=True): c1, c2, c3 = st.columns(3) @@ -244,5 +251,6 @@ def user_inputs(): "order_frequency": order_frequency, "activation_bounds": activation_bounds, "triple_barrier_config": triple_barrier_config, + "keep_position": keep_position, "candles_config": [] - } \ No newline at end of file + }