In preparation
Papers on the study are in preparation.
Doctoral research · Tampere University · 2024–
Doctoral research in financial data science. Main supervisor Prof. Juho Kanniainen, co-supervisor Docent Henri Hansen.
A limit order book is the live list of every outstanding order to buy or sell a stock. Each new order, cancellation and trade changes it, and a busy stock produces hundreds of thousands of these events in a single trading day. The mid-price, halfway between the best bid and the best ask, moves as a result.
My models read the latest stretch of events and give three probabilities: that the mid-price will be lower, about the same or higher a little later. I study whether context from the whole trading day improves that prediction, and whether a memory that keeps learning while the market trades builds that context better than simpler ways of carrying state.
A model sees only a short window of recent events, but something from hours earlier, such as a large seller active since the open or a volatile morning, can still move the price at noon.
Borrowing from language modelling, each order-book event becomes a token from a small vocabulary (side, message type, distance from the best price, size), refined by a few continuous values such as the spread and the time since the previous event, and paired with a snapshot of the ten best price levels on each side of the book.
The memory is a small neural network whose weights are rewritten by gradient steps while the model reads the day, on a self-supervised objective: given this key, reproduce this value. Surprising events are written strongly, and learned forgetting lets stale content fade.
The models form a ladder from windowed LSTMs and transformers, through stateful and relational memories, to the test-time-trained memories. Each rung adds one capability to the one below, so a difference in performance can be pinned on that capability. Trading days are split into training, validation and test sets with no information leaking between them, and horizons are measured both in events and in seconds.
Event-level Nasdaq data from LOBSTER under an academic licence, and GPU nodes on the Puhti supercomputer at CSC – IT Center for Science.
In preparation
Papers on the study are in preparation.