QuantumLearner commited on
Commit
d2f8f5e
·
verified ·
1 Parent(s): ab07001

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -15,7 +15,7 @@ st.set_page_config(layout="wide")
15
  st.title("Comprehensive Moving Averages Analysis Tool")
16
 
17
  st.markdown("""
18
- This app provides a detailed analysis of various moving averages. You can select from a wide range of techniques to better understand stock price movement trends.
19
 
20
  ### Moving Averages Categories:
21
 
@@ -32,7 +32,7 @@ For technical details on these methods, refer to [this article](https://entrepre
32
 
33
  st.sidebar.markdown("""
34
  ### How to Use:
35
- - **Ticker Symbol**: Enter the stock symbol (e.g., `AAPL`).
36
  - **Date Range**: Select the start and end dates.
37
  - **Fetch Data**: Click 'Fetch Data' to load the stock data.
38
  - **Moving Averages**: Choose and customize your moving averages.
@@ -446,9 +446,9 @@ st.sidebar.header("Select Parameters")
446
 
447
  # Ticker input with tooltip
448
  ticker_symbol = st.sidebar.text_input(
449
- "Ticker Symbol",
450
- value=st.session_state.get('ticker_symbol', 'AAPL'),
451
- help="Enter the stock ticker symbol (e.g., AAPL for Apple)."
452
  )
453
 
454
  # Date range inputs with tooltip
 
15
  st.title("Comprehensive Moving Averages Analysis Tool")
16
 
17
  st.markdown("""
18
+ This app provides a detailed analysis of various moving averages. You can select from a wide range of techniques to better understand asset price movement trends.
19
 
20
  ### Moving Averages Categories:
21
 
 
32
 
33
  st.sidebar.markdown("""
34
  ### How to Use:
35
+ - **Asset Symbol**: Enter the stock symbol (e.g., `AAPL`) or Crypto Currency Pair (e.g., `BTC-USD`).
36
  - **Date Range**: Select the start and end dates.
37
  - **Fetch Data**: Click 'Fetch Data' to load the stock data.
38
  - **Moving Averages**: Choose and customize your moving averages.
 
446
 
447
  # Ticker input with tooltip
448
  ticker_symbol = st.sidebar.text_input(
449
+ "Ticker or Crypto Pair",
450
+ value=st.session_state.get('ticker_symbol', 'BTC-USD'),
451
+ help="Enter the ticker symbol (e.g., AAPL for Apple) or Cryptocurrency Pair (e.g. BTC-USD)."
452
  )
453
 
454
  # Date range inputs with tooltip