-
Notifications
You must be signed in to change notification settings - Fork 15
/
import_folders.py
executable file
·52 lines (42 loc) · 2.15 KB
/
import_folders.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import sys
import os
base_path = os.path.abspath('')
print ("Base path: %s"%base_path)
sys.path.append(base_path + "/")
sys.path.append(base_path + "/libs/InformationClasses/")
sys.path.append(base_path + "/libs/TradingClasses/")
sys.path.append(base_path + "/libs/InformationClasses/CTimeData/")
sys.path.append(base_path + "/libs/InformationClasses/CPortfolio/")
sys.path.append(base_path + "/libs/InformationClasses/CSymbol/")
sys.path.append(base_path + "/libs/InformationClasses/CBond/")
sys.path.append(base_path + "/libs/TradingClasses/StrategyPool/")
sys.path.append(base_path + "/libs/TradingClasses/Coliseum/")
sys.path.append(base_path + "/libs/TradingClasses/Brain/")
sys.path.append(base_path + "/libs/TradingClasses/Brain/CMoneyManagement/")
#sys.path.append(base_path + "/TradingClasses/CFilter/")
sys.path.append(base_path + "/MarketModels/CAPM/")
sys.path.append(base_path + "/libs/")
sys.path.append(base_path + "/libs/graph/") # Graphical libs
sys.path.append(base_path + "/libs/graph/GUI/") # Graphical libs
sys.path.append(base_path + "/libs/graph/specific/") # Graphical libs
sys.path.append(base_path + "/libs/DDBB/") # Graphical traders
sys.path.append(base_path + "/libs/math/") # Graphical traders
sys.path.append(base_path + "/libs/utilities/") # Graphical traders
sys.path.append(base_path + "/libs/tradersInfo/") # Graphical traders
sys.path.append(base_path + "/libs/ML/") # Graphical traders
### For the EM algorithm
sys.path.append(base_path + "/libs/EM")
sys.path.append(base_path + "/libs/EM/EM POO")
sys.path.append(base_path + "/libs/EM/utils")
sys.path.append(base_path + "/libs/Distributions")
sys.path.append(base_path + "/libs/Distributions/Watson")
sys.path.append(base_path + "/libs/Distributions/Gaussian")
sys.path.append(base_path + "/libs/Distributions/vonMisesFisher")
### For the Deep Learning
sys.path.append(base_path + "/libs/BBBLSTM")
sys.path.append(base_path + "/libs/Pytorch")
sys.path.append(base_path + "/libs/AllenNLP_lib")
sys.path.append(base_path + "/libs/HBM")
sys.path.append(base_path + "/RainMaking/")
#imp_folders(os.path.abspath(''))
# Change code to only make it one ? main1, change folder name and database