Skip to main content
ZICQ

Skills ZICQ category:Other mx-stocks-screener OpenClaw

Mx Stocks Screener

Based on the Eastern Wealth Database, it supports the screening of a wide range of assets, such as A Hong Kong U.S. shares, funds, bonds, etc., through natural language input, and multiple indicator screenings, including technical, informational, fundamental and market sentiment, which can be used for global asset sifting, cross-market monitoring, portfolio construction, and strategic retrometry. Returns results contain data descriptions and csv files. Natural language screechers for investigation assortments across global markets, including A-shares, ETFs, Bonds, HK and US stocks, and funders.

864 installs · 106 stars

Official URL:ClawHub

What this skill does

Intro in this page language first. The official description stays in its original wording; we do not rewrite SKILL.md.

When to use it

The official description does not include a separate “Use when”. Per the spec, agents activate this skill when the task matches keywords in that description.

How agents load it

Per Agent Skills progressive disclosure: name and description load at startup (~100 tokens); the full SKILL.md body loads when the skill activates; scripts/, references/, and assets/ load only as needed. This file's sections: 选股 / 选板块 / 选基金; 密钥来源与安全说明; 功能范围; 基础选股能力; A股进阶查询(部分场景); **查询示例**. It includes spec-recommended sections: input/output examples.

File analysis

File analysis: besides SKILL.md, the body references scripts/get_data.py. Those resources load on demand.

Official description (original)

基于东方财富数据库,支持通过自然语言输入筛选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.

选股 / 选板块 / 选基金密钥来源与安全说明功能范围基础选股能力A股进阶查询(部分场景)**查询示例**前提条件1. 注册东方财富妙想账号2. 配置 TokenmacOS 添加到 ~/.zshrc,Linux 添加到 ~/.bashrc3. 安装依赖快速开始

Source category:ClawHub CSV

SKILL.md & Agent activation

Official spec ↗
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.
  1. DiscoverThe client exposes names and descriptions to the agent.
  2. ActivateYour request or the task context selects the skill and loads its instructions.
  3. Load resourcesReferenced scripts, documentation and assets are used when needed.
Files referenced by the instructions · 1
  • scripts/get_data.py

These paths are extracted from the text. Check the upstream package to verify the files exist.

Invocation syntax and available tools depend on your Agent client. Client integration guide ↗

Install this skill

Skills CLI ↗

Choose the target agent and installation scope, keep referenced package files, then verify the skill appears in the client's catalog.

This skill references supporting files. Retrieve the complete directory from the source; copying SKILL.md alone may leave missing dependencies.

Ask your Agent to install

Copy these instructions to a compatible agent and confirm the target directory matches your client.

Install the agent skill "mx-stocks-screener" into my project. The full SKILL.md and official description are at https://zicq.com/en/skills/skl-d0da1214d058724e-Mx-Stocks-Screener.html
Save it as .cursor/skills/mx-stocks-screener/SKILL.md or .claude/skills/mx-stocks-screener/SKILL.md and keep the frontmatter name and description exactly as-is.
This skill also ships scripts/, references/, or assets/ — fetch the whole folder from https://clawhub.ai/skills/mx-stocks-screener instead of creating only a SKILL.md.

No unambiguous GitHub package URL is recorded. Follow the original source's installer instructions.

ClawHub ↗

Readable layout

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" } ] } }

选股 / 选板块 / 选基金

通过自然语言查询进行选股,数据来自于妙想大模型服务,支持以下类型:

  • A股、港股、美股
  • 基金、ETF、可转债、板块

密钥来源与安全说明

  • 本技能仅使用一个环境变量:EM_API_KEY。
  • EM_API_KEY 由东方财富妙想服务(https://ai.eastmoney.com/mxClaw)签发,用于其接口鉴权。
  • 在提供密钥前,请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。
  • 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。

功能范围

基础选股能力

  • 按股价、市值、涨跌幅、市盈率等财务/行情指标筛选
  • 按技术信号筛选(如连续上涨、突破均线等)
  • 按主营业务、主要产品筛选
  • 按行业/概念板块筛选成分股
  • 获取指数成分股
  • 推荐股票、基金、板块
  • 按多种复合条件(如且、或、非、排序等)的逻辑组合筛选

A股进阶查询(部分场景)

除基础选股外,还支持A股上市公司的以下查询场景:

  • 高管信息、股东信息
  • 龙虎榜数据
  • 分红、并购、增发、回购
  • 主营区域
  • 券商金股

注意:上述仅为部分示例,实际支持的条件远多于列举内容

查询示例

| 类型 | query | select-type | |----------|--------------------------|----------| | 选A股 | 股价大于500元的股票、创业板市盈率最低的50只 | A股 | | 选港股 | 港股的科技龙头 | 港股 | | 选美股 | 纳斯达克市值前30、苹果产业链美股 | 美股 | | 选板块 | 今天涨幅最大板块 | 板块 | | 选基金 | 白酒主题基金、新能源混合基金近一年收益排名 | 基金 | | 选ETF | 规模超2亿的电力ETF | ETF | | 选可转债 | 价格低于110元、溢价率超5个点的可转债 | 可转债 |

前提条件

1. 注册东方财富妙想账号

访问 https://ai.eastmoney.com/mxClaw 注册账号并获取API_KEY。

2. 配置 Token

# macOS 添加到 ~/.zshrc,Linux 添加到 ~/.bashrc
export EM_API_KEY="your_api_key_here"

然后根据系统执行对应的命令:

macOS:

source ~/.zshrc

Linux:

source ~/.bashrc

3. 安装依赖

pip3 install httpx --user

快速开始

1. 命令行调用

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 | 查询领域 | ✅ |

2. 代码调用

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 环境变量

  • 请访问 https://ai.eastmoney.com/mxClaw 获取API_KEY。
  • 配置EM_API_KEY环境变量

如何指定输出目录?

export MX_STOCKS_SCREENER_OUTPUT_DIR="/path/to/output"
python3 {baseDir}/scripts/get_data.py --query "查询内容" --select-type "查询领域"

Related skills

Other

Self Improving Agent

Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) U…

Other

Self Improving + Proactive Agent

Self-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves perm…

Other

Proactive Agent

Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Worki…

Other

Multi Search Engine

Multi search engine integration with 16 engines (7 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy en…