Quant Research
10 min read
AI
Microstructure
OrrnnScript
OBC1
Neural Networks on Order Book Microstructure in OrrnnScript

Neural Networks on Order Book Microstructure in OrrnnScript

Running quantized inference inside deterministic OBC1 bytecode without sacrificing execution parity.

Deterministic Inference in Trading VMs

Deploying machine learning models in live trading often breaks when Python training features diverge from C++/MQL production feeds. Inside RTX5, feature normalization and inference execute identically in the Strategy Tester and live server runner.

Feature Engineering with Fixed-Point Math

  • **Normalized Spread Ratio**: `spread / ta.atr(14)`
  • **Micro-Momentum Delta**: Dec128 tick-velocity across 5-bar windows
  • **Gas-Metered Inference**: Strictly bounded under `50,000` gas per bar
  • Frequently Asked Questions

    No — weights are embedded in the .rx5 ConstPool section and evaluated natively by the OBC1 VM.

    About the Author (E-E-A-T)
    Aegis Prop Research
    Multi-Asset Systematic Signal Desk

    Audited institutional strategy desk running mean-reversion and volatility-breakout models on RTX5 TCP.