The article explains the internal mechanics of the STSSM block and demonstrates how modern SSM approaches can be adapted to the event-driven logic of spiking models while maintaining high speed and expressive representations. Step by step, we work our way through the architecture, transforming the rigorous theory behind the authors' approach into a practical financial instrument for analyzing financial time series.
In the previous article, we decided to apply the approaches proposed by the framework's authors to the field of spiking solutions. This is entirely consistent with the logic of event-driven models. Furthermore, we have implemented an embedding stack that neatly prepares the event stream, creating a convenient structure for further analysis. It acts as a filter, allowing the model to recognize rhythm and patterns.
Today we're taking the next step and beginning to implement the heart of the encoder — the STSSM block. It is this module that will link local events to the global dynamics of the stream, creating a stable representation of the data. This is particularly important for financial data streams. The market never moves in a straight line. Ticks arrive at varying rates, and volumes can change instantaneously. The STSSM block will allow the model to perceive these impulses as a whole. View pauses and bursts as part of the bigger picture. And extract key features for further analysis.
Moving on to the practical part of the work, it is important to emphasize right away that the STSSM block is not just a module, but a complex, multi-level structure comprising several interconnected components. Its architecture resembles a carefully designed machine in which each part plays its own role, and together they provide a holistic view of the event stream. To make the process clear and easy to follow, we will build the block sequentially, step by step, working our way up through its hierarchy. This approach helps you avoid getting lost in the details and ensures you have a clear understanding of how each element contributes to the final result.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Check out the new article: Neural Networks in Trading: A Spatio-Temporal State Space Model for Financial Data Analysis (STSSM Block).
In the previous article, we decided to apply the approaches proposed by the framework's authors to the field of spiking solutions. This is entirely consistent with the logic of event-driven models. Furthermore, we have implemented an embedding stack that neatly prepares the event stream, creating a convenient structure for further analysis. It acts as a filter, allowing the model to recognize rhythm and patterns.
Today we're taking the next step and beginning to implement the heart of the encoder — the STSSM block. It is this module that will link local events to the global dynamics of the stream, creating a stable representation of the data. This is particularly important for financial data streams. The market never moves in a straight line. Ticks arrive at varying rates, and volumes can change instantaneously. The STSSM block will allow the model to perceive these impulses as a whole. View pauses and bursts as part of the bigger picture. And extract key features for further analysis.
Moving on to the practical part of the work, it is important to emphasize right away that the STSSM block is not just a module, but a complex, multi-level structure comprising several interconnected components. Its architecture resembles a carefully designed machine in which each part plays its own role, and together they provide a holistic view of the event stream. To make the process clear and easy to follow, we will build the block sequentially, step by step, working our way up through its hierarchy. This approach helps you avoid getting lost in the details and ensures you have a clear understanding of how each element contributes to the final result.
Author: Dmitriy Gizlyk