According to recent reports, main-force money flow (主力资金流向) is one of the most-watched indicators in Chinese A-share trading. It's the net money flowing in from large and super-large orders — roughly, what institutional-size money is doing.

Getting the data is annoying for three specific reasons.

Industry observers note that 1. The fields are internal codes. Eastmoney's public endpoints return f62, f66, f72, f84… There's no documentation, and the ordering changes between endpoints. (Related: Industry News: Simple considerations for simple people ...)

2. Some fields return plausible garbage. The f69 field (super-large order net ratio) comes back as roughly -17.9 for every single stock on the market-wide endpoint. It looks like a real ratio. It isn't. If you don't know this and ship it, your screener is silently garbage. (Related: Breaking: Large Language Models: A New Moore's Law?...)

3. No single endpoint gives you all five tiers. Super-large, large, medium, small, plus the ratios — you end up stitching multiple APIs together.

Three design choices worth knowing about:.

The classic use: sort the whole market by main net inflow.

With pandas it's about the same:.

Note main_net / 1e8 — the amounts are in raw CNY, so 1e8 is 100 million (亿).

It has been revealed that A single day of main-force inflow is noise. Five days of it is a signal.

Pay-per-event: a full-market snapshot is $3.9, a single stock is $0.005.

→ Read original article