Modeling Financial Time Series using LSTM with Trainable Initial Hidden States

Jungsik Hwang
7/14/2020
q-fin.STcs.LGq-fin.PM

Official code: mulkkyul/lstm-initStates (11 stars, Python, MIT, last commit 2020-07-15).

Abstract

Extracting previously unknown patterns and information in time series is central to many real-world applications. In this study, we introduce a novel approach to modeling financial time series using a deep learning model.

Show full abstract

We use a Long Short-Term Memory (LSTM) network equipped with the trainable initial hidden states. By learning to reconstruct time series, the proposed model can represent high-dimensional time series data with its parameters. An experiment with the Korean stock market data showed that the model was able to capture the relative similarity between a large number of stock prices in its latent space. Besides, the model was also able to predict the future stock trends from the latent space. The proposed method can help to identify relationships among many time series, and it could be applied to financial applications, such as optimizing the investment portfolios.

View on arXivView PDF

Code Implementations(1)

MIT

The PyTorch implementation of "Modeling Financial Time Series using LSTM with Trainable Initial Hidden States"

113PythonJul 14, 20206 years agoMIT

Similar Papers

Cite this paper

@article{hwang2020modeling,
  title  = {Modeling Financial Time Series using LSTM with Trainable Initial Hidden States},
  author = {Jungsik Hwang},
  year   = {2020},
  eprint = {2007.06848},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.06848}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.06848.svg)](https://codeofpaper.com/paper/2007.06848)

Discussion