IyyappanA / CNN-for-Stock-Market-Prediction-PyTorch

CNN for stock market prediction using raw data & candlestick graph.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can Machine Reads Like Analysts Do?

update:

Related paper: Trading via Image Classification (by J.P. Morgan)

Two Approaches

Approach 1

  • cnn4matrix.py

  • Apply convolution on data matrices directly.

Input: (5*n) matrices -> (Open,High,Low,Close,Volume)*(d1,d2,...,dn)

Output: classification result

Approach 2

  • cnn.py

  • Generate candlestick graphs first. sample

Input: candlestick graphs

Output: classification result

Current results

11 layers + residual block prediction

About

CNN for stock market prediction using raw data & candlestick graph.


Languages

Language:Python 99.3%Language:Shell 0.7%