QuantumLearner commited on
Commit
43fa391
·
verified ·
1 Parent(s): e2d4d5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -13,15 +13,15 @@ st.sidebar.title('Input Parameters')
13
 
14
  with st.sidebar.expander("How to use", expanded=False):
15
  #st.sidebar.subheader('How to Use This App')
16
- st.sidebar.markdown("""
17
- 1. **Enter Ticker and Date**: Type the stock or cryptocurrency ticker and select the date range.
18
- 2. **Set Parameters**: Adjust the time horizon, number of simulations, and other parameters to customize the analysis.
19
- - **For Cryptocurrencies**: The BSM analysis is not applicable. Set the BSM volatility to 0 to exclude the BSM-based analysis.
20
- """)
21
 
22
  # Wrapping ticker and date settings in an expander
23
- with st.sidebar.expander("Ticker and Date Settings", expanded=True):
24
- ticker = st.text_input('Enter Stock/Crypto Ticker', 'AFX.DE', help="Enter the ticker symbol of the stock or cryptocurrency pair you want to analyze (e.g., 'AAPL' for Apple, 'BTC-USD' for Bitcoin).")
25
  start_date = st.date_input('Start Date', pd.to_datetime('2020-01-01'), help="Select the start date for fetching historical data.")
26
  end_date = st.date_input('End Date', pd.to_datetime('today') + pd.DateOffset(1), help="Select the end date for fetching historical data (default is today plus one day).")
27
 
 
13
 
14
  with st.sidebar.expander("How to use", expanded=False):
15
  #st.sidebar.subheader('How to Use This App')
16
+ st.sidebar.markdown("""
17
+ 1. **Enter Ticker and Date**: Type the stock or cryptocurrency ticker and select the date range.
18
+ 2. **Set Parameters**: Adjust the time horizon, number of simulations, and other parameters to customize the analysis.
19
+ - **For Cryptocurrencies**: The BSM analysis is not applicable. Set the BSM volatility to 0 to exclude the BSM-based analysis.
20
+ """)
21
 
22
  # Wrapping ticker and date settings in an expander
23
+ with st.sidebar.expander("Asset and Date Settings", expanded=True):
24
+ ticker = st.text_input('Enter Stock/Crypto Symbol', 'AFX.DE', help="Enter the ticker symbol of the stock or cryptocurrency pair you want to analyze (e.g., 'AAPL' for Apple, 'BTC-USD' for Bitcoin).")
25
  start_date = st.date_input('Start Date', pd.to_datetime('2020-01-01'), help="Select the start date for fetching historical data.")
26
  end_date = st.date_input('End Date', pd.to_datetime('today') + pd.DateOffset(1), help="Select the end date for fetching historical data (default is today plus one day).")
27