Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,6 +39,15 @@ page = st.sidebar.radio("Select Mode", ["Run Strategy", "Optimize Parameters"])
|
|
| 39 |
|
| 40 |
# Common user inputs in the sidebar with collapsible sections
|
| 41 |
with st.sidebar:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
st.header("Parameters")
|
| 43 |
|
| 44 |
# Symbol and Date Section
|
|
|
|
| 39 |
|
| 40 |
# Common user inputs in the sidebar with collapsible sections
|
| 41 |
with st.sidebar:
|
| 42 |
+
|
| 43 |
+
with st.expander("How to use", expanded=False):
|
| 44 |
+
st.sidebar.header("How to Use")
|
| 45 |
+
st.sidebar.markdown("""
|
| 46 |
+
1. Select **Run Strategy** to calculate stop-loss thresholds using specified ATR parameters.
|
| 47 |
+
2. Select **Optimize Parameters** to find the optimal ATR settings using Bayesian Optimization.
|
| 48 |
+
3. Set the symbol, date range, and strategy parameters in the **Parameters** section.
|
| 49 |
+
4. Click **Run Strategy** or **Run Optimization** to execute the selected operation.
|
| 50 |
+
""")
|
| 51 |
st.header("Parameters")
|
| 52 |
|
| 53 |
# Symbol and Date Section
|