Spaces:
Running
Running
RobertCastagna
commited on
Commit
•
4601eac
1
Parent(s):
5b94bbb
Update pages/3_Sentiment_Data_Input.py
Browse files
pages/3_Sentiment_Data_Input.py
CHANGED
@@ -69,7 +69,7 @@ c.execute("""CREATE TABLE IF NOT EXISTS company_news (
|
|
69 |
)""")
|
70 |
|
71 |
num_days_history=5
|
72 |
-
num_days_history = st.number_input(label='Number of Historical days to process. Beware of time.', value=5, min_value=1, max_value=
|
73 |
ticker = st.text_input(label=f'Entering ticker will add last {num_days_history} days of news sentiment data to database.')
|
74 |
|
75 |
start_date_str = (datetime.datetime.today() - datetime.timedelta(days=num_days_history)).strftime('%Y-%m-%d')
|
|
|
69 |
)""")
|
70 |
|
71 |
num_days_history=5
|
72 |
+
num_days_history = st.number_input(label='Number of Historical days to process (1-10). Beware of time.', value=5, min_value=1, max_value=10)
|
73 |
ticker = st.text_input(label=f'Entering ticker will add last {num_days_history} days of news sentiment data to database.')
|
74 |
|
75 |
start_date_str = (datetime.datetime.today() - datetime.timedelta(days=num_days_history)).strftime('%Y-%m-%d')
|