Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ st.title('StockSwingApp: Stock Trading Signal Generator')
|
|
16 |
# Sidebar for user inputs
|
17 |
st.sidebar.header('User Input Parameters')
|
18 |
default_symbol = 'AAPL'
|
19 |
-
symbol = st.sidebar.text_input('Stock Symbol', value=default_symbol, max_chars=
|
20 |
start_date = st.sidebar.date_input('Start Date', value=datetime.now() - timedelta(days=90))
|
21 |
end_date = st.sidebar.date_input('End Date', value=datetime.now())
|
22 |
|
|
|
16 |
# Sidebar for user inputs
|
17 |
st.sidebar.header('User Input Parameters')
|
18 |
default_symbol = 'AAPL'
|
19 |
+
symbol = st.sidebar.text_input('Stock Symbol', value=default_symbol, max_chars=10).upper()
|
20 |
start_date = st.sidebar.date_input('Start Date', value=datetime.now() - timedelta(days=90))
|
21 |
end_date = st.sidebar.date_input('End Date', value=datetime.now())
|
22 |
|