ViperQ: Order Flow Pattern Recognition via Auction Market Theory for Reinforcement Learning Trading

Asser Moustafa, Rares-Mihail Neagu, Jugal Kalita
9/12/2026
cs.AIq-fin.TR
rl

No confident code implementation found for this paper.

Abstract

Reinforcement learning trading systems published in the academic literature overwhelmingly rely on price-aggregate state representations (OHLCV bars) or limit-order-book depth features, leaving microstructure pattern theories from the practitioner literature, namely Auction Market Theory and Market Profile, without a peer-reviewed computational instantiation. We present ViperQ, a reinforcement learning system whose state representation is built explicitly from Auction Market Theory primitives: Volume Point of Control, Value Area position, Low Volume Node flags, Cumulative Volume Delta divergence, and tape-velocity signatures, assembled into a 20-dimensional Z-normalised vector.

Show full abstract

Two Proximal Policy Optimisation agents are trained with a prospect theory-grounded asymmetric reward function that penalises losing holds at a magnitude consistent with Kahneman and Tversky's loss-aversion coefficient. Evaluated on a held-out twelve-month partition of institutional tick data the agents have never seen, ViperQ achieves +163.6% ROI on TSLA (-27.5% max drawdown, 27,019 trades) and +116.5% ROI on NVDA (-47.8% max drawdown, 12,892 trades) under zero leverage. The results establish Auction Market Theory features as a tractable structured input modality for sequential decision-making on financial time series and motivate further work on microstructure-aware policy learning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{moustafa2026viperq,
  title  = {ViperQ: Order Flow Pattern Recognition via Auction Market Theory for Reinforcement Learning Trading},
  author = {Asser Moustafa and Rares-Mihail Neagu and Jugal Kalita},
  year   = {2026},
  eprint = {2609.13825},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.13825v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.13825.svg)](https://codeofpaper.com/paper/2609.13825)

Discussion