Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
Loading...
Searching...
No Matches
Namespaces
signal_processor.cpp File Reference

SignalProcessor implementation — per-tick signal chain. More...

#include "../../include/srfm/stream/signal_processor.hpp"
#include <cmath>
#include <thread>

Go to the source code of this file.

Namespaces

namespace  srfm
 
namespace  srfm::stream
 

Detailed Description

SignalProcessor implementation — per-tick signal chain.

See include/srfm/stream/signal_processor.hpp for the full module contract.

Hot-path design

The inner loop in run_loop() calls process_one() for each tick. process_one() is the pure computation kernel — no ring I/O, no threading. This separation allows unit tests to exercise the signal chain without launching threads.

Per-tick allocation budget: zero.

Backoff

When in_ring_ is empty, yields (same strategy as TickIngester).

Definition in file signal_processor.cpp.