Get real-time stock quotes for Japan, Hong Kong, and US markets without an OpenD server or API key.
Query multiple stocks across different markets in a single command, for example one US, one HK, and one JP stock.
Diagnose what quote and market data fields the Futu Niuniu protocol exposes using the included probe scripts.
| bigbigmonkey123/futu-moni | 1lystore/awaek | 47cid/wp2shell-lab | |
|---|---|---|---|
| Stars | 13 | 13 | 13 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 4/5 | 2/5 | 4/5 |
| Audience | developer | vibe coder | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires macOS, the Futu Niuniu desktop app installed, Python 3.11+, and sudo access to change routing and packet filter rules.
futu-moni is a macOS tool that reads live stock price quotes for Japanese, Hong Kong, and US markets by tapping into the desktop app of Futu Niuniu, a stock trading platform popular in Asia. Instead of using Futu's official API, which normally requires an OpenD server and an API key, this project intercepts the network traffic that the Futu Niuniu desktop app already sends to Futu's own servers on your Mac, and reads the quote data straight from that traffic. To work, the tool temporarily reroutes some of the network connections on your computer to itself using macOS's built in packet filter, called pfctl, and local routing table, so it can sit between the Futu Niuniu app and the real Futu servers. On your first use of futu-moni you must log in manually inside the Futu Niuniu window that pops up, but after that first login the app can be set to log in automatically and no further manual steps are needed. Because it needs to change your Mac's network routing and packet filter rules, it must be run with administrator, or sudo, privileges. You run it either in a default mode that checks a few preset Japanese ETFs, or by naming the specific stocks you want, mixing markets in one command such as one US stock, one Hong Kong stock, and one Japan stock. It prints out the latest price, the previous close, the percentage change, and for most markets the day's open, high, low, and volume figures. Hong Kong quotes only show price, since deeper order book and volume details get cut off by how that market's data is formatted in the protocol. The project requires macOS, the Futu Niuniu desktop app already installed, and Python 3.11 or newer, and it is released under the MIT license.
A macOS tool that gets live stock quotes for JP, HK, and US markets by intercepting the Futu Niuniu desktop app's own network traffic, no API key needed.
Mainly Python. The stack also includes Python, pfctl, macOS.
MIT license: use, modify, and distribute freely, including commercially, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.