-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
29 lines (27 loc) · 974 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from datetime import datetime, timedelta
# Stock data
end_date = datetime.now().replace(hour=0, minute=0, second=0, microsecond=0) - timedelta(days=1)
start_date = end_date - timedelta(days=366)
SYMBOLS = [
"TSLA",
"AAPL",
"META",
# "VUAA.L",
# "FRHC",
# "TM",
"NVDA",
"MSFT",
"GOOGL",
"AMZN",
"BRK-B",
"AMD", # ale strong buy freedom24 sako
]
HISTORICAL_URL = "https://query1.finance.yahoo.com/v7/finance/download/"
START_DATE_UNIX = int(start_date.timestamp())
START_DATE_HUMAN = start_date.strftime('%Y-%m-%d')
END_DATE_UNIX = int(end_date.timestamp())
END_DATE_HUMAN = end_date.strftime('%Y-%m-%d')
# CVBankas
CVBANKAS_KEYWORDS = ["django", 'vadovas']
CVBANKAS_IGNORE_WORDS_IN_JOB_TITLE = ["Senior", "Stat", "Konstrukt", "aplinkos", "elektr", "ūki", "Šilum", "Pamain", "metal", "pardavim", "personal", "rinkod", "auto", "restor", "pardavim", "pirkim" ]
CVBANKAS_IGNORE_WORDS_IN_JOB_COMPANY = ["EASTCON", "pastat"]