stock-rnn logo

stock-rnn

lilianweng/stock-rnn

Predict stock market prices using RNN model with multilayer LSTM cells.

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

43views this month

2.0k stars674 forksLast push Jul 28, 2022 Python

Decision brief

Predicts stock market prices using LSTM-based RNNs with optional multi-stock embeddings.

Good fit when

  • Forecasting stock prices requires an approach that benefits from long-term memory in sequential data
  • Improved accuracy is needed when considering multiple stocks for prediction

Avoid when

  • Short-term price predictions dominate the forecasting focus
  • Single-stock analysis suffices without incorporating multi-stock embeddings

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (1514d since push)
As of Sep 20, 2026
Provenance
Not a fork · Personal account
As of Sep 20, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install stock-rnn
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

This repository provides a framework for predicting stock market prices using Recurrent Neural Network (RNN) models, particularly focusing on Long Short-Term Memory (LSTM) networks. It includes the implementation of an RNN model with multilayer LSTM cells and supports optional multi-stock embeddings to enhance prediction accuracy.

Capability facts

Languages
python

Source: github.language · Sep 20, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 20, 2026)

3. Run `python data_fetcher.py` to download the prices of individual stocks in S & P 500, each
Source link

Tags

README

Predict stock market prices using RNN Check my blog post "Predict Stock Prices Using RNN": Part 1 and Part 2 for the tutorial associated. One thing I would like to emphasize that because my motivation is more on demonstrating how to build and train an RNN model in Tensorflow and...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.