tmb_quant

nvthai0611

Open-source 24-chapter mathematical specification, binary preset codec, bytecode VM, and browser decoder for XAUUSD algorithmic trading.

HTMLCreated

What is nvthai0611/tmb_quant?

QM5H is a twenty-four-chapter open-source mathematical monograph and engineering specification for a regime-switching algorithmic trading architecture targeting XAUUSD gold markets. Rather than shipping a ready-to-run Expert Advisor, it documents the specification layer spanning stochastic differential equations, Hurst and HMM regime classification, Kalman filtering, Ornstein-Uhlenbeck mean reversion, Fractional Kelly sizing, and CVaR risk controls.

Alongside the text, the repository specifies a 128-byte IEEE-754 binary preset format with CRC32 verification and the QBC1 rule bytecode virtual machine with a 64-bit gate register. Tools include a Python codec and VM simulator, a zero-install HTML browser decoder for inspecting binary presets and bytecode files, and an eighty-pair JSONL knowledge dataset formatted for retrieval or fine-tuning workflows.

Running the browser decoder requires only a modern browser, while the codec script requires Python. The authors state explicitly that MQL5 source files are omitted and the nineteen preset parameters ship zeroed, requiring walk-forward optimization on your own broker tick data.

Before you startThe README says

Runs on
Any web browser for decoder; Python environment for codec tools
Needs
Python for preset codec; tick data and MT5 if implementing spec
How you get it
Clone or download the repository
Not yet
MQL5 source code and optimized preset parameters are not included

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.