Paige Lui
All Projects

Time Series Forecasting · Full-Stack Development

Financial Time Series Predictor

A financial forecasting application that uses a PyTorch LSTM model to learn patterns in historical stock-price data and a Next.js interface to visualize predictions.

PythonPyTorchLSTMFastAPINext.jsTypeScriptPandas
Financial Time Series Predictor project preview

The Project

Overview

Financial markets produce large amounts of time-series data, making historical stock prices a useful setting for exploring sequence-based machine learning models.

I developed a financial forecasting application that uses a Long Short-Term Memory (LSTM) neural network to generate predictions from historical stock-price data.

The project combines a PyTorch forecasting model with a FastAPI backend and a Next.js frontend. Users can interact with the application and view predicted values alongside historical price information.

My primary focus was understanding the end-to-end process of preparing sequential data, training a forecasting model, exposing predictions through an API, and visualizing the results in a web application.

Key Contributions

Project Highlights

Sequence-Based Forecasting

Implemented an LSTM neural network in PyTorch to model patterns in historical stock-price sequences.

Full-Stack Integration

Connected a Python forecasting backend to a Next.js frontend through a FastAPI interface.

Prediction Visualization

Built a frontend visualization to compare historical values and model-generated predictions.

Behind the Build

Technical Deep Dive