Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -138,10 +138,10 @@ with st.sidebar.expander("Symbol and Dates", expanded=True):
|
|
| 138 |
end_date = st.date_input('End Date', pd.to_datetime('today') + pd.DateOffset(1), help="Select the end date for historical data")
|
| 139 |
|
| 140 |
with st.sidebar.expander("Parameter Settings", expanded=True):
|
| 141 |
-
days = st.
|
| 142 |
-
n_iterations = st.
|
| 143 |
-
threshold1 = st.
|
| 144 |
-
threshold2 = st.
|
| 145 |
thresholds = [threshold1, threshold2]
|
| 146 |
|
| 147 |
st.write("""
|
|
|
|
| 138 |
end_date = st.date_input('End Date', pd.to_datetime('today') + pd.DateOffset(1), help="Select the end date for historical data")
|
| 139 |
|
| 140 |
with st.sidebar.expander("Parameter Settings", expanded=True):
|
| 141 |
+
days = st.number_input('Number of Days for Simulation', min_value=1, max_value=365, value=30, help="Number of days to simulate into the future")
|
| 142 |
+
n_iterations = st.number_input('Number of Simulations', min_value=100, max_value=100000, value=10000, help="Number of bootstrap iterations to run")
|
| 143 |
+
threshold1 = st.number_input('Threshold 1', min_value=0, value=850, help="Lower price threshold for probability calculations")
|
| 144 |
+
threshold2 = st.number_input('Threshold 2', min_value=0, value=1050, help="Upper price threshold for probability calculations")
|
| 145 |
thresholds = [threshold1, threshold2]
|
| 146 |
|
| 147 |
st.write("""
|