Home

Awesome

code

This is the source code and some evaluation scripts for our paper PEN: Prediction-Explanation Network to Forecast Stock Price Movement with Better Explainability. Our code is based on https://github.com/yumoxu/stocknet-code

Dependencies

Directories

Configurations

All details about hyper-parameters are listed in src/config.yml and src/config_d.yml.

See more information in 'Experimental Setup' of our paper.

Running

Use sh src/run.sh or python src/Main.py in your terminal to start model training and testing.

The default code corresponds to ACL18. For DJIA, simply replace Executor to Executor_d in src/Main.py.