Code for the paper Portfolio Selection with Graph-aware Gaussian Process Regression
our implementation is mainly based on following packages:
python 3.7
pip install gpuinfo
pip install universal-portfolios
pip install tensorflow-gpu==1.15
pip install gpflow==1.5
Besides, some basic packages like numpy are also needed.
Take the NYSE (N) dataset for example.
- Run preprocess_NYSE_N.ipynb
- Run run_NYSE_N.sh
- Run strategy-NYSE_N.ipynb