A server application that enables large language models to execute stock trading operations through QMT trading system, providing functionality for account queries, position management, and order placement.
赋予大模型执行股票交易的能力!
QMT-MCP-Server 是一个基于 MCP (Model Control Protocol) 的服务器应用,用于对接迅投 QMT 交易系统,提供股票交易相关的功能接口。
本项目仅供交流学习使用,请谨慎用于实盘环境
使用前请先安装python包管理工具 uv
安装方法请参考 https://docs.astral.sh/uv/getting-started/installation/#github-releases
git clone https://github.com/nnquant/qmt-mcp-server
uv sync
uv run main.py
首次运行时,系统会提示输入必要的配置信息:
配置信息将自动保存在 xttrader.yaml
文件中。
{ "mcpServers": { "qmt-mcp-server": { "url": "http://localhost:8001/sse" } } }
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!