基于东方财富数据库,支持通过自然语言输入筛选A港美股、基金、债券等多种资产,支持多元指标筛选,含技术面、消息面、基本面及市场情绪等,可用于全球资产速筛、跨市场监控、投资组合构建、策略回测等场景。返回结果包含数据说明及 csv 文件。Natural language screener for investment...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install mx-stocks-screener或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install mx-stocks-screener⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/mx-stocks-screener/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: mx_stocks_screener description: 基于东方财富数据库,支持通过自然语言输入筛选A港美股、基金、债券等多种资产,支持多元指标筛选,含技术面、消息面、基本面及市场情绪等,可用于全球资产速筛、跨市场监控、投资组合构建、策略回测等场景。返回结果包含数据说明及 csv 文件。Natural language screener for investment assets across global markets, including A-shares, ETFs, bonds, HK and US stocks, and funds. It enables multi-dimensional filtering via technical, fundamental, sentiment and news indicators. Ideal for global asset selection, cross-market monitoring, portfolio construction and strategy backtesting. metadata: { "openclaw": { "requires": { "env":["EM_API_KEY"] }, "install": [ { "id": "pip-deps", "kind": "python", "package": "httpx", "label": "Install Python dependencies" } ] } } ---
通过自然语言查询进行选股,数据来自于妙想大模型服务,支持以下类型:
EM_API_KEY。EM_API_KEY 由东方财富妙想服务(https://ai.eastmoney.com/mxClaw)签发,用于其接口鉴权。除基础选股外,还支持A股上市公司的以下查询场景:
> 注意:上述仅为部分示例,实际支持的条件远多于列举内容
| 类型 | query | select-type | |----------|--------------------------|----------| | 选A股 | 股价大于500元的股票、创业板市盈率最低的50只 | A股 | | 选港股 | 港股的科技龙头 | 港股 | | 选美股 | 纳斯达克市值前30、苹果产业链美股 | 美股 | | 选板块 | 今天涨幅最大板块 | 板块 | | 选基金 | 白酒主题基金、新能源混合基金近一年收益排名 | 基金 | | 选ETF | 规模超2亿的电力ETF | ETF | | 选可转债 | 价格低于110元、溢价率超5个点的可转债 | 可转债 |
访问 https://ai.eastmoney.com/mxClaw 注册账号并获取API_KEY。
# macOS 添加到 ~/.zshrc,Linux 添加到 ~/.bashrc
export EM_API_KEY="your_api_key_here"
然后根据系统执行对应的命令:
macOS:
source ~/.zshrc
Linux:
source ~/.bashrc
pip3 install httpx --user
python3 {baseDir}/scripts/get_data.py --query 股价大于100元,主力流入,成交额排名前50 --select-type A股
输出示例
CSV: /path/to/miaoxiang/mx_stocks_screener/mx_stocks_screener_9535fe18.csv
描述: /path/to/miaoxiang/mx_stocks_screener/mx_stocks_screener_9535fe18_description.txt
行数: 42
参数说明:
| 参数 | 说明 | 必填 | |------|------|------| | --query | 自然语言查询条件 | ✅ | | --select-type | 查询领域 | ✅ |
import asyncio
from pathlib import Path
from scripts.get_data import query_mx_stocks_screener
async def main():
result = await query_mx_stocks_screener(
query="A股半导体板块市值前20",
selectType="A股",
output_dir=Path("miaoxiang/mx_stocks_screener"),
)
if "error" in result:
print(result["error"])
else:
print(result["csv_path"], result["row_count"])
asyncio.run(main())
| 文件 | 说明 | |------|------| | mx_stocks_screener_<查询ID>.csv | 全量数据表,列名为中文(由返回的 columns 映射),UTF-8 编码,可用 Excel 或 pandas 打开 | | mx_stocks_screener_<查询ID>_description.txt | 数据说明:查询内容、行数、列名说明等 |
| 变量 | 说明 | 默认 | |---------------------------|-----------------------|------| | MX_STOCKS_SCREENER_OUTPUT_DIR | CSV 与描述文件的输出目录(可选) | miaoxiang/mx_stocks_screener | | EM_API_KEY | 妙想智能选股工具 API 密钥(必备) | 无 |
错误:请设置 EM_API_KEY 环境变量
API_KEY。EM_API_KEY环境变量如何指定输出目录?
export MX_STOCKS_SCREENER_OUTPUT_DIR="/path/to/output"
python3 {baseDir}/scripts/get_data.py --query "查询内容" --select-type "查询领域"安装 Intelligent Stocks Screener 后,可以对 AI 说这些话来触发它
Help me get started with Intelligent Stocks Screener
Explains what Intelligent Stocks Screener does, walks through the setup, and runs a quick demo based on your current project
Use Intelligent Stocks Screener to based on the Oriental Wealth Database, it supports the screening of...
Invokes Intelligent Stocks Screener with the right parameters and returns the result directly in the conversation
What can I do with Intelligent Stocks Screener in my finance & investment workflow?
Lists the top use cases for Intelligent Stocks Screener, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/mx-stocks-screener/ 目录(个人级,所有项目可用),或 .claude/skills/mx-stocks-screener/(项目级)。重启 AI 客户端后,用 /mx-stocks-screener 主动调用,或让 AI 根据上下文自动发现并使用。
Intelligent Stocks Screener 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Intelligent Stocks Screener 可免费安装使用。请查阅仓库了解许可证信息。
基于东方财富数据库,支持通过自然语言输入筛选A港美股、基金、债券等多种资产,支持多元指标筛选,含技术面、消息面、基本面及市场情绪等,可用于全球资产速筛、跨市场监控、投资组合构建、策略回测等场景。返回结果包含数据说明及 csv 文件。Natural language screener for investment...
Intelligent Stocks Screener 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Intelligent Stocks Screener
Identifies repetitive steps in your workflow and sets up Intelligent Stocks Screener to handle them automatically