Kr08 commited on
Commit
3dcbbec
·
verified ·
1 Parent(s): 8b5f94a

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +4 -4
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 - relativedelta(years=1)
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