/install fiu-market-assistant
/fiu-market-assistant — FIU Market Data & Trading
Provides stock market data query and trading capabilities via FIU MCP Server. Supports HK, US, and CN stock markets with quotes, K-line, order book, capital flow, and trading operations.
Arguments passed: $ARGUMENTS
Quick Start (One Command Setup)
# First time setup - configure MCP and set token
/fiu-market-assistant setup YOUR_FIU_MCP_TOKEN
After setup, simply use natural language:
Query Tencent Holdings quote
Show AAPL daily K-line
Buy 100 shares Tencent
Dispatch on Arguments
No args — show status
- Check FIU_MCP_TOKEN - show if token is configured (masked)
- Show available markets - list HK, US, CN, toolkit
- Show quick commands - list available dispatch commands
- What next - guide user:
- No token → "Run
/fiu-market-assistant setup \x3Ctoken>to configure" - Configured → "Ready! Ask me anything like 'Query 00700 quote'"
- No token → "Run
setup \x3Ctoken> — quick setup (recommended)
- Save token to config file
~/.fiu-market/config - Create MCP config
.mcp.jsonwith all 7 FIU services - Test connectivity
- Confirm and guide restart
test — test connectivity
- Check FIU_MCP_TOKEN is set
- Test each market endpoint with tools/list
- Show which services are working
- Report any errors
discover \x3Cmarket> — discover available tools
List all available tools for a specific market:
/fiu-market-assistant discover hk_sdk
/fiu-market-assistant discover cn_sdk
quote \x3Csymbol> — query quote
Query real-time quote for a stock:
/fiu-market-assistant quote 00700
/fiu-market-assistant quote AAPL
/fiu-market-assistant quote 600519
kline \x3Csymbol> [type] — query K-line
Query K-line data:
/fiu-market-assistant kline 00700 # daily
/fiu-market-assistant kline 00700 1 # weekly
/fiu-market-assistant kline AAPL 5 # 1-min for US
search \x3Ckeyword> — search stock code
Search for stock by name:
/fiu-market-assistant search 腾讯
/fiu-market-assistant search Apple
trade \x3Caction> \x3Csymbol> \x3Cqty> [price] — trade
Place orders (default SIMULATE mode):
/fiu-market-assistant trade buy 00700 100 380
/fiu-market-assistant trade sell AAPL 50 150
/fiu-market-assistant trade buy 600519 1000 200
positions — query positions
/fiu-market-assistant positions
cash — query cash
/fiu-market-assistant cash
orders — query orders
/fiu-market-assistant orders
capflow \x3Csymbol> — capital flow
/fiu-market-assistant capflow 00700
MCP Servers Reference
Market Endpoints
| Service | Market | URL |
|---|---|---|
| stockHkF10 | HK F10 | https://ai.szfiu.com/stock_hk_f10/ |
| stockUsF10 | US F10 | https://ai.szfiu.com/stock_us_f10/ |
| stockCnF10 | CN F10 | https://ai.szfiu.com/stock_cn_f10/ |
| stockHkSdk | HK SDK | https://ai.szfiu.com/stock_hk_sdk/ |
| stockUsSdk | US SDK | https://ai.szfiu.com/stock_us_sdk/ |
| stockCnSdk | CN SDK | https://ai.szfiu.com/stock_cn_sdk/ |
| szfiuToolkit | Search | https://ai.szfiu.com/toolkit/ |
Feature Support by Market
| Feature | HK (港股) | US (美股) | CN (A股) |
|---|---|---|---|
| Quote | ✅ | ✅ | ✅ |
| K-line | ✅ | ✅ | ✅ |
| Order Book | ✅ | ✅ | ✅ |
| Tick Data | ✅ | ✅ | ✅ |
| Intraday | ✅ | ✅ | ✅ |
| Capital Flow | ✅ | ✅ | ✅ |
| Capital Distribution | ✅ | ✅ | ✅ |
| Sector List | ✅ | ✅ | ✅ |
| Stock Filter | ✅ | ✅ | ✅ |
| Market Ranking | ✅ | ✅ | ✅ |
| F10 Data | ✅ | ✅ | ✅ |
| Trading | ✅ | ✅ | ✅ |
| Search | ✅ | ✅ | ✅ |
Usage Tips
- Use search first to find correct stock code
- Default mode is SIMULATE - use "REAL" for real trading
- HK stocks: use format
00700.HKor just00700 - US stocks: use format
AAPLorAAPL.US - CN stocks: use format
600519.SZor000001.SZ - Rate limit: 15 orders per 30 seconds
- Get token: https://ai.szfiu.com/auth/login
Important Notes
- Trading defaults to SIMULATE mode for safety
- Real trading requires explicit "REAL" confirmation
- Always check market status before trading
- The setup command will create/overwrite ~/.mcp.json (standard MCP config file)
- Backup is created automatically before overwriting
- Config files are stored with restricted permissions (600) - only owner can read
- This skill adds 7 FIU MCP entries to your MCP configuration
- Other MCP-enabled tools may also use ~/.mcp.json - review after setup if needed
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fiu-market-assistant - 安装完成后,直接呼叫该 Skill 的名称或使用
/fiu-market-assistant触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
SZFIU Market Data Bot 是什么?
FIU MCP Market Data and Trading Assistant. Use when user wants to query stock quotes, K-line, trade stocks, check positions, or analyze market data for HK/US... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 214 次。
如何安装 SZFIU Market Data Bot?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fiu-market-assistant」即可一键安装,无需额外配置。
SZFIU Market Data Bot 是免费的吗?
是的,SZFIU Market Data Bot 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
SZFIU Market Data Bot 支持哪些平台?
SZFIU Market Data Bot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 SZFIU Market Data Bot?
由 ULNIT(@ulnit)开发并维护,当前版本 v1.0.13。