eastmoney skills

v1.0.4

本 Skill 支持基于股票选股条件(行情指标、财务指标等)筛选满足条件的股票;可查询指定行业/板块内的股票、上市公司,以及板块指数的成分股;同时支持股票、上市公司、板块/指数推荐等相关任务,避免大模型在选股时使用过时信息。

13· 3.2k·38 current·39 all-time
byeastmoney_dev@qqk000

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for qqk000/eastmoney-select-stock.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "eastmoney skills" (qqk000/eastmoney-select-stock) from ClawHub.
Skill page: https://clawhub.ai/qqk000/eastmoney-select-stock
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install eastmoney-select-stock

ClawHub CLI

Package manager switcher

npx clawhub@latest install eastmoney-select-stock
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill's name/description match its implementation: it calls mkapi2.dfcfs.com to perform stock selection and returns/parses results. However, the registry metadata (shown above) lists no required environment variables while both SKILL.md and the code require MX_APIKEY — an inconsistency that could cause confusion at install/runtime.
Instruction Scope
SKILL.md instructs sending the user's natural-language keyword to the EastMoney/MX API and storing results locally. The code follows that exactly: it posts {'keyword': query} with apikey header, parses returned JSON/markdown tables, and writes CSV/description/raw JSON files. It does not read unrelated system files or other credentials.
Install Mechanism
There is no install spec (instruction-only plus a Python file). The code depends on the 'requests' package but no dependency declaration is provided. No remote installers or arbitrary downloads are used, so install risk is low — but runtime may fail if required Python packages are missing.
Credentials
The only secret the skill needs is an API key (MX_APIKEY), which is appropriate for a service that requires authentication. The mismatch between the registry metadata (no env vars) and SKILL.md/code (requires MX_APIKEY) is the main proportionality issue — the skill does not request unrelated secrets.
Persistence & Privilege
The skill writes output files (CSV, description, raw JSON) under /root/.openclaw/workspace/mx_data/output/ (it will create this directory). It does not modify other skills or global agent config. Persisted files may contain the user's query and the API response, so consider storage sensitivity.
Assessment
This skill appears to do what it claims (call the EastMoney/MX API and return parsed results). Before installing: 1) Note the SKILL.md and code require an MX_APIKEY environment variable even though the registry metadata omitted it — set MX_APIKEY securely in the runtime environment. 2) Confirm the API endpoint (mkapi2.dfcfs.com) and the API Key source are legitimate for your use. 3) Ensure the Python runtime has the 'requests' package available (the skill has no install spec). 4) Be aware the skill writes CSV and raw JSON files to /root/.openclaw/workspace/mx_data/output/ (these files may include your query and returned data); run in an isolated or trusted environment if that data is sensitive. 5) If you require stricter auditing, ask the publisher for a homepage/source and for the missing metadata to be corrected before enabling.

Like a lobster shell, security has layers — review code before you run it.

latestvk970jehvr00mevgqe81j5nzd6s8341qj
3.2kdownloads
13stars
5versions
Updated 1mo ago
v1.0.4
MIT-0

mx_select_stock 妙想智能选股 skill

本 Skill 支持基于股票选股条件,如行情指标、财务指标等,筛选满足条件的股票;可查询指定行业 / 板块内的股票、上市公司,以及板块指数的成分股;同时支持股票、上市公司、板块 / 指数推荐等相关任务,采用此skill可避免大模型在选股时使用了过时信息。

required_env_vars:

配置

  • API Key: 通过环境变量 MX_APIKEY 设置
  • 默认输出目录: /root/.openclaw/workspace/mx_data/output/(自动创建)
  • 输出文件名前缀: mx_select_stock_
  • 输出文件:
    • mx_select_stock_{query}.csv - 筛选结果 CSV 文件
    • mx_select_stock_{query}_description.txt - 筛选结果描述文件
    • mx_select_stock_{query}_raw.json - API 原始 JSON 数据

使用方式

  1. 在妙想Skills页面获取apikey

  2. 将apikey存到环境变量,命名为MX_APIKEY,检查本地该环境变量是否存在,若存在可直接用。如果不存在,提示用户在东方财富Skills页面(https://marketing.dfcfs.com/views/finskillshub/indexuNdYscEA)获取apikey并设置到环境变量。

  3. 使用post请求如下接口,务必使用post请求。

    ⚠️ 安全注意事项

    • 外部请求: 本 Skill 会将用户的查询关键词(Keyword)发送至东方财富官方 API 接口 (mkapi2.dfcfs.com) 进行解析与检索。
    • 数据用途: 提交的数据仅用于匹配选股条件,不包含个人隐私信息。
    • 凭据保护: API Key 仅通过环境变量 MX_APIKEY 在服务端或受信任的运行环境中使用,不会在前端明文暴露。
curl -X POST --location 'https://mkapi2.dfcfs.com/finskillshub/api/claw/stock-screen' \
--header 'Content-Type: application/json' \
--header 'apikey: YOUR_API_KEY' \
--data '{"keyword": "今日涨幅2%的股票", "pageNo": 1, "pageSize": 20}'

接口结果释义

一、顶层核心状态 / 统计字段

字段路径类型核心释义
status数字接口全局状态,0 = 成功
message字符串接口全局提示,ok = 成功
data.code字符串选股业务层状态码,100 = 解析成功
data.msg字符串选股业务层提示
data.data.resultType数字结果类型枚举,2000 为标准选股结果
data.data.result.total数字【核心】选股结果总数量(符合条件的股票数)
data.data.result.totalRecordCount数字与 total 一致,结果总条数,做数据校验用

2.1 列定义:data.data.result.columns(数组)

核心作用:定义表格每一列的展示规则、属性、业务键,是前端渲染表格列的依据,数组中每个对象对应表格的一列,与dataList的行数据键一一映射,核心子字段如下:

子字段类型核心释义
title字符串表格列展示标题(如最新价 (元)、涨跌幅 (%))
key字符串【核心】列唯一业务键,与dataList中对象的键映射(如 NEWEST_PRICE、CHG)
dateMsg字符串列数据对应的日期(如 2026.03.12)
sortable布尔该列是否支持前端排序
sortWay字符串默认排序方式(desc = 降序 /asc = 升序)
redGreenAble布尔该列数值是否支持红绿涨跌着色(涨红跌绿)
unit字符串列数值单位(元、%、股、倍)
dataType字符串列数据类型(String/Double/Long),用于前端渲染格式

2.2 行数据:data.data.result.dataList(数组)

核心作用:选股结果的具体股票数据,数组中每个对象对应一只符合条件的股票,是表格的行数据;对象的键与columns中的key严格映射,值为该股票对应列的实际数据,核心业务键(列)释义如下:

核心键数据类型核心释义
SERIAL字符串表格行序号
SECURITY_CODE字符串股票代码(如 603866、300991)
SECURITY_SHORT_NAME字符串股票简称(如桃李面包、创益通)
MARKET_SHORT_NAME字符串市场简称(SH = 上交所,SZ = 深交所)
NEWEST_PRICE数字 / 字符串最新价(单位:元)
CHG数字 / 字符串涨跌幅(单位:%)
PCHG数字 / 字符串涨跌额(单位:元)

三、选股条件 / 统计相关字段

该部分为选股的条件说明、结果统计,展示选股的筛选规则及各条件匹配的股票数量,核心路径均在data.data下:

字段路径类型核心释义
responseConditionList数组【核心】单条筛选条件的统计,每个对象对应 1 个筛选条件,含条件描述、匹配股票数
responseConditionList[].describe字符串筛选条件描述(如今日涨跌幅在 [1.5%,2.5%] 之间)
responseConditionList[].stockCount数字该条件匹配的股票数量
totalCondition对象【核心】组合筛选条件的总统计,即所有条件叠加后的最终筛选规则
totalCondition.describe字符串组合条件描述(如今日涨跌幅在 [1.5%,2.5%] 之间 且 股票代码)
totalCondition.stockCount数字组合条件匹配的股票数量(与 result.total 一致)
parserText字符串选股条件的解析文本,以分号分隔单条件(如今日涨跌幅在 [1.5%,2.5%] 之间;股票代码)

数据结果为空

提示用户到东方财富妙想AI进行选股。

Comments

Loading comments...