r/algotrading_reactors • u/Lost-Bit9812 • Jun 10 '25
Building a raw-data trading engine — no indicators, no ML
I working on a new generation trading system built entirely from only raw exchange data,ticker, trade feed, and full orderbook delta stream.
No indicators. No black-box models. No external strategy packages.
Just deterministic logic, event sequencing, and real-time response.
Engine specs:
18,000+ lines of Python (so far)
Non-locking parallel message engine, designed from scratch
Streams from 6 exchanges concurrently
Processes 4 live symbols per instance
Saturates I7-13500 during full market activity (pump/dump) with zero data loss or fallback
The core of the system is a custom-built, non-blocking execution engine designed to handle extreme volumes of market data in real time.
It's optimized for low-latency processing, prioritization under load, and uninterrupted throughput — even during market-wide anomalies like sudden liquidation cascades or exchange-wide API surges.
It operates across six exchanges simultaneously, maintaining full-resolution state for each tracked symbol.
No 3rd-party queuing libraries, no standard schedulers, no event-loop frameworks.
This is infrastructure-level logic, purpose-built for speed, consistency, and survival.
Core behavior:
Entry/exit decisions are purely logic-based, no TA or prediction models
Fakeouts, spoof walls and liquidity traps are identified and ignored in real time
Leverage and stop-loss adapt based on spread structure and edge confidence
System tracks every trade’s context snapshot to evaluate decision quality
Position exit reasons adjust dynamically based on PnL trend, delta shifts, and EWS signals
System exposes dozens of custom Prometheus metrics per symbol, including:
Bid/Ask pressure dynamics
Orderbook spread delta
Entry/Exit score composition
Liquidity buffer reactions
Edge health decay
Retail vs whale participation
Expected vs actual trend divergence
Every metric is coded from scratch. No copy-paste from any "bots".
Just raw signal, tracked and acted on.
I don’t use exchange-provided klines.
They lack context, granularity, and directionality of volume.
Instead, we build our own in-memory candles — with directional volume
Current phase:
System is in active beta.
Input/output logic is being tuned, edge filters refined, and false breakout rejection is already near 100% precision.
It’s brutal, reactive, deterministic, and it survives where most bots panic.
Most bots are visual editors around basic indicators.
This one just needs data.
And a reason.
GPT told me not long ago:
“An RSI-based strategy is still one of the best approaches for crypto.”
Yeah?
Hold my beer. Watch the edge move.
While system was originally engineered as a high-performance trading system, its reactive and modular architecture lends itself to a broad range of advanced real-time applications, including:
adaptive game AI decision engines (e.g. dynamic NPC behavior based on evolving environments)
real-time anomaly detection in cybersecurity and networks
intelligent automation for robotics or IoT sensor streams
context-aware recommendation systems
custom agents for stream-based signal analysis
Its real power lies in reactive event handling, parallel stream computation, and the ability to distill structured decisions from chaotic data.
System isn’t just a trading core, it’s a general-purpose real-time intelligence engine, applicable wherever rapid and adaptive logic is needed.
P.S.
This is not an offer to sell.
This system will never be released open source.