Discussing the article: "Neural Networks in Trading: Spatially Guided Aggregation of Market Events (STFlow)"

Check out the new article: Neural Networks in Trading: Spatially Guided Aggregation of Market Events (STFlow).

The article introduces the STFlow framework, which can generate a robust joint representation of the current market state and the dynamics of recent events, ensuring high sensitivity to micro-impulses while maintaining stable processing. The core ICE module has been implemented; it accumulates price and event streams, creating a reliable foundation for further aggregation and analysis.

The financial market is traditionally viewed as a sequence of price observations ordered over time. Classical models are based precisely on this representation: the market as a discrete time series, in which each new price observation is appended to the sequence. This perspective is convenient, time-tested, and elegant in its own way. However, with the growth of computing power and the shift toward algorithmic trading, it became clear that such a model reflects only the outer shell of market dynamics, leaving its internal structure out of the picture.

The modern market, especially on short time frames, is driven not by bars and candlesticks, but by events. Quote changes, the emergence of liquidity, aggressive volume absorption, and sharp shifts in the spread all occur asynchronously, unevenly, and often before the next bar has formed. In this sense, traditional candlestick aggregation is not so much a market model as a compromise between ease of analysis and loss of information. The higher the trading frequency, the higher the cost of this trade-off.

This is precisely where a key methodological problem arises: how can we describe and analyze the market if its primary dynamics are event-driven rather than frame-based?

Most neural network models used in trading have adopted architectural principles from time series and image processing. Recurrent networks, one-dimensional convolutions, and transformers — all of them, in one way or another, assume the presence of a regular time grid. Even when high-frequency data is used, the market is still represented using a fixed time step. This simplifies the calculations, but distorts the very nature of the data.


Author: Dmitriy Gizlyk