Spaces:
Sleeping
Sleeping
Update config.py
Browse files
config.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
from datetime import date
|
2 |
-
from dateutil.relativedelta import relativedelta
|
3 |
|
4 |
index_options = ['FTSE 100(UK)', 'NASDAQ(USA)', 'CAC 40(FRANCE)']
|
5 |
ticker_dict = {'FTSE 100(UK)': 'FTSE 100', 'NASDAQ(USA)': 'NASDAQ 100', 'CAC 40(FRANCE)': 'CAC 40'}
|
6 |
time_intervals = ['1d', '1m', '5m', '15m', '60m']
|
7 |
|
8 |
END_DATE = date.today()
|
9 |
-
START_DATE = END_DATE -
|
10 |
-
FORECAST_PERIOD = 7
|
|
|
|
1 |
+
from datetime import date, timedelta
|
|
|
2 |
|
3 |
index_options = ['FTSE 100(UK)', 'NASDAQ(USA)', 'CAC 40(FRANCE)']
|
4 |
ticker_dict = {'FTSE 100(UK)': 'FTSE 100', 'NASDAQ(USA)': 'NASDAQ 100', 'CAC 40(FRANCE)': 'CAC 40'}
|
5 |
time_intervals = ['1d', '1m', '5m', '15m', '60m']
|
6 |
|
7 |
END_DATE = date.today()
|
8 |
+
START_DATE = END_DATE - timedelta(days=30) # Default to past month
|
9 |
+
FORECAST_PERIOD = 7
|
10 |
+
CONFIDENCE_INTERVAL = 0.95 # 95% confidence interval
|