Submit #863755: GitHub wondertrader 0.9.9 Incorrect Control Flowinfo

TitleGitHub wondertrader 0.9.9 Incorrect Control Flow
DescriptionWonderTrader, a C++-based quantitative trading framework designed for full-market, multi-asset trading workflows, contains an logic vulnerability in v0.9.9: incorrect variable use in MatchEngine::update_lob() within src/WtBtCore/MatchEngine.cpp. When constructing the internal limit order book cache, the function maps bid-side price levels to askqty(i) instead of bidqty(i), causing bid-side market depth to be recorded with ask-side quantities. In a professional trading framework that covers data processing, backtesting, live trading, and operations scheduling, this can corrupt backtesting order book state and produce misleading liquidity assumptions when bid and ask depths differ.
Source⚠️ https://my.feishu.cn/wiki/BXljwvHSLiiqiSkI7jScIqkSn4c
User
 sannomiya (UID 98147)
Submission06/19/2026 16:01 (2 months ago)
Moderation08/06/2026 07:51 (2 months later)
StatusAccepted
VulDB entry386456 [WonderTrader up to 0.9.9 Internal Limit Order Book Cache MatchEngine.cpp MatchEngine::update_lob behavioral workflow]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!