- ZHANG MIAN
- CentraleSupélec
This file is a brief introduction about Transformer Model and the application in finance domain.
The prediction of the Moving Average (10days)
The loss function with the epochs.
The fundamental thesis of Transformer Model: Link: https://arxiv.org/pdf/1706.03762.pdf
In this project we calculate the percentage return of the daily stock price(Open, Close, High, Low, Volume)
- Time Embedding
- Single Head Attention
- Multi Head Attention
Here we define the moving average of 20 trading days, all rest the same. And also we recalculate the 60 days moving average. If the golden-cross shows up, we decide to buy the stock(Also this should be conducted with RSI or other index).