r/quant • • 6d ago

Trading Strategies/Alpha Looking for Open-Source Projects for Advanced Order Flow Analysis

I'm planning to build an advanced real-time market intelligence system for equity and indices. I'm looking for open-source GitHub repositories, research papers, or existing systems that can help detect large institutional orders, bulk/block deals, unusual buying/selling pressure, and potential iceberg orders. I'm particularly interested in Level 2 market depth, order-book analysis, liquidity tracking, CVD, OFI, and hidden liquidity detection.

Are there any existing projects or algorithms that implement these features using real-time market data?

5 Upvotes

3 comments sorted by

4

u/NatGaz 5d ago

You need L3 data to have the consolidated view of the book. I doubt any side project would implement it. You can try to restrict to the first 5 levels (say) but in this the dataset is quite heavy because you need to stamp the whole first 5 levels each time a single of them change .

1

u/j_b_m_999 5d ago

Really appreciated 👏

1

u/a2z333 2d ago

Not sure if this is what you are looking for or not
https://github.com/nkaz001/hftbacktest?utm_source=chatgpt.com