mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2025-12-24 00:34:23 +01:00
(feat) adapt base values
This commit is contained in:
@@ -6,13 +6,13 @@ def get_risk_management_inputs():
|
||||
with st.expander("Risk Management", expanded=True):
|
||||
c1, c2, c3, c4, c5, c6 = st.columns(6)
|
||||
with c1:
|
||||
sl = st.number_input("Stop Loss (%)", min_value=0.0, max_value=100.0, value=3.0, step=0.1,
|
||||
sl = st.number_input("Stop Loss (%)", min_value=0.0, max_value=100.0, value=5.0, step=0.1,
|
||||
help="Enter the stop loss as a percentage (e.g., 2.0 for 2%).") / 100
|
||||
with c2:
|
||||
tp = st.number_input("Take Profit (%)", min_value=0.0, max_value=100.0, value=2.0, step=0.1,
|
||||
help="Enter the take profit as a percentage (e.g., 3.0 for 3%).") / 100
|
||||
with c3:
|
||||
time_limit = st.number_input("Time Limit (minutes)", min_value=0, value=60 * 6,
|
||||
time_limit = st.number_input("Time Limit (minutes)", min_value=0, value=60 * 12,
|
||||
help="Enter the time limit in minutes (e.g., 360 for 6 hours).") * 60
|
||||
with c4:
|
||||
ts_ap = st.number_input("Trailing Stop Act. Price (%)", min_value=0.0, max_value=100.0, value=1.8,
|
||||
|
||||
Reference in New Issue
Block a user