Skip to content

JimmyYoungggg/Deep-Learning-For-Stocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Learning Models for Stock Return Prediction

This repository contains codes for my quant research on utilizing different deep learning for stock return prediction based on alpha factors. How to apply shapley values to quantify factors' contribution in the deep learning models is also included. Alpha factors data are not included here for confidential reasons.

File Descriptions:

  • main.py: The overall training process. Shapley calculation is also included here.
  • model.py: Different deep learning models written in Pytorch
  • utils.py: Auxiliary functions such as dataset processing and performance evaluation
  • config.py: configurations for models and training process
  • BN_LSTM.py: It is a rather independent file which displays how I build LSTM from scratch so that I can apply the Batch normalization method for LSTM discribed in this paper: Recurrent Batch Normalization. I also include drawing functions that can depict the gradient changes and value changes of all time steps in the training process so that problems like gradient vanishing can be detected.

About

Research on MLP LSTM CNN GAN for stock return prediction in Pytorch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages