The repository is the code repository for the case study Finding peer stocks using business description of a company
There are three ways to execute the code.
- Step 1: [Optional] execute the code
python py/etl.py --path-files "data/" --path-figs "doc/figs/"
- Step 2: Step 1 will create a
thematic.h5
file in the data directory (example data is given in data directory)python py/model.py --path-data "data/thematic.h5""
Snakemake user can just type in snakemake --cores 1
from command shell. Please note Rscript and Python should be in path
Mlflow users can just type mlflow run .
key | data |
---|---|
stoxx50 | Euro Stoxx50 Universe |
desc | Yahoo finance data |
analysis | Analysis data |