QuantumLearner commited on
Commit
8a3ff96
·
verified ·
1 Parent(s): 5d0d4f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -26,7 +26,7 @@ with st.sidebar.expander("Ticker and Date Settings", expanded=True):
26
  # Wrapping parameter settings in an expander
27
  with st.sidebar.expander("Parameter Settings", expanded=True):
28
  time_horizon = st.slider('Time Horizon (Days)', min_value=1, max_value=60, value=30, help="Set the number of days into the future for which you want to estimate asset prices.")
29
- std_multipliers = st.multiselect('Select Std Multipliers', [1, 1.25, 1.5, 1.75, 2], default=[1, 1.25, 1.5], help="Choose the standard deviation multipliers to calculate future price ranges.")
30
  rolling_window = st.slider('Rolling Window (Days)', min_value=10, max_value=90, value=30, step=5, help="Set the number of days to use for calculating rolling volatility.")
31
 
32
 
@@ -36,11 +36,6 @@ The predictions are based on historical volatility, calculated from the asset's
36
  You can adjust the time horizon and standard deviation multipliers to see how the expected price range changes.
37
  """)
38
 
39
- # Display the main formula with clear, basic LaTeX
40
- st.latex(r'''
41
- P_t = P_0 \times e^{\sigma \times \sqrt{t} \times z}
42
- ''')
43
-
44
  with st.expander("Click here to read more about the methodology", expanded=False):
45
  st.latex(r'''
46
  P_t = P_0 \times e^{\sigma \times \sqrt{t} \times z}
 
26
  # Wrapping parameter settings in an expander
27
  with st.sidebar.expander("Parameter Settings", expanded=True):
28
  time_horizon = st.slider('Time Horizon (Days)', min_value=1, max_value=60, value=30, help="Set the number of days into the future for which you want to estimate asset prices.")
29
+ std_multipliers = st.multiselect('Select Std Multipliers', [1, 1.25, 1.5, 1.75, 2,2.25,2.5,2.75,3], default=[1, 1.25, 1.5, 1.75], help="Choose the standard deviation multipliers to calculate future price ranges.")
30
  rolling_window = st.slider('Rolling Window (Days)', min_value=10, max_value=90, value=30, step=5, help="Set the number of days to use for calculating rolling volatility.")
31
 
32
 
 
36
  You can adjust the time horizon and standard deviation multipliers to see how the expected price range changes.
37
  """)
38
 
 
 
 
 
 
39
  with st.expander("Click here to read more about the methodology", expanded=False):
40
  st.latex(r'''
41
  P_t = P_0 \times e^{\sigma \times \sqrt{t} \times z}