Positions and assets read back fine, and orders go through at the price and size you state. The failure mode the author calls out is name-to-code translation: asking for a stock by its Chinese name can resolve to the wrong ticker depending on the model, so naming the code with its .SH or .SZ suffix is the safe habit.
A server that connects to the 迅投 QMT trading system through a local miniQMT install and exposes account and order operations over MCP.
- Account asset queries — what the account holds in cash and value
- Position queries — the current holdings
- Order placement, with the price and share count you name
- Order cancellation
- Ticker codes carry their exchange suffix, .SH or .SZ
Python >= 3.10, uv, QMT trading permissions on your brokerage account, and miniQMT already running locally. On first launch the server asks for the miniQMT path and the fund account number and saves them to xttrader.yaml. Clients connect over SSE at http://localhost:8001/sse. The author states this is for study and exchange, and asks that you be careful pointing it at a live account.
