← 返回 Skills 市场
yunduanmanbu

Eastmoney Financial Search

作者 yunduanmanbu · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
1135
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install eastmoney-finance-news
功能描述
Search and retrieve timely financial news, reports, announcements, and policy analyses based on user queries from Eastmoney data.
使用说明 (SKILL.md)

eastmoney_financial_search - 东方财富资讯搜索技能

基于东方财富妙想搜索能力,用于获取涉及时效性信息或特定事件信息的金融资讯(新闻、公告、研报、政策解读等)。

功能

  • 根据用户问句搜索相关金融资讯
  • 返回可读文本内容,包含标题、关联证券列表、核心正文
  • 可选保存到工作目录

环境变量

  • EASTMONEY_APIKEY: 东方财富 API key (默认:mkt_Z19TUfMY79_44k4wZsAHIVGVva0-g8PxD_DkBDQx2iM)

API 接口

POST https://mkapi2.dfcfs.com/finskillshub/api/claw/news-search
Content-Type: application/json

{
    "apikey": "\x3CEASTMONEY_APIKEY>",
    "query": "立讯精密的资讯"
}

返回字段

字段 释义
title 信息标题
secuList 关联证券列表
trunk 信息核心正文

示例问句

  • 格力电器最新研报、贵州茅台机构观点
  • 商业航天板块近期新闻、新能源政策解读
  • A 股具备自然对冲优势的公司、汇率风险
  • 今日大盘异动原因、北向资金流向解读

使用示例

from urllib.request import Request
import json

def get_eastmoney_news(query):
    apikey = os.environ.get("EASTMONEY_APIKEY", "mkt_Z19TUfMY79_44k4wZsAHIVGVva0-g8PxD_DkBDQx2iM")
    
    url = "https://mkapi2.dfcfs.com/finskillshub/api/claw/news-search"
    data = {
        "apikey": apikey,
        "query": query
    }
    
    req = Request(url, data=json.dumps(data).encode("utf-8"), headers={"Content-Type": "application/json"})
    with urllib.request.urlopen(req) as response:
        result = json.loads(response.read().decode("utf-8"))
    return result
安全使用建议
This skill appears to do what it says (query Eastmoney-ish API and optionally save results), but check these before installing: 1) The script embeds a default EASTMONEY_APIKEY — set your own key in EASTMONEY_APIKEY if you have one; do not assume the embedded key is private or unlimited. 2) The registry metadata did not declare the EASTMONEY_APIKEY requirement — that's a bookkeeping mismatch. 3) The included Python script has a bug (uses Request without importing it) — fix the import (from urllib.request import Request or use urllib.request.Request) before running. 4) The skill sends queries to https://mkapi2.dfcfs.com; if you require strict network policies, verify that endpoint. 5) The script can write files to the current working directory; run it in a safe/isolated directory if you are concerned. If you want higher assurance, request the publisher to (a) declare the env var in metadata, (b) remove or rotate any embedded demo key, and (c) fix the import bug and publish updated code.
功能分析
Type: OpenClaw Skill Name: eastmoney-finance-news Version: 1.0.0 The skill provides functionality to search for financial news and reports using the Eastmoney (东方财富) API. It communicates with a legitimate domain (dfcfs.com) and uses standard Python libraries for network requests and file handling. While the script contains a hardcoded API key and a minor coding error (a NameError due to the missing 'Request' import in scripts/query_eastmoney.py), there is no evidence of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
Name, description, SKILL.md and the included script all implement a search against an Eastmoney-like API for financial news; required capabilities (network access, optional file save) are consistent with that purpose.
Instruction Scope
SKILL.md and the sample show how to call the external API and optionally save results. The included script follows this scope, but the script contains a bug: it uses Request(...) without importing Request (top of file imports urllib.request but not Request), which will cause a NameError at runtime. No instructions attempt to read unrelated files or credentials beyond the EASTMONEY_APIKEY.
Install Mechanism
No install spec — instruction-only plus a small script. Nothing is downloaded or written to system paths by an installer.
Credentials
The skill expects an EASTMONEY_APIKEY (documented and embedded as a default in SKILL.md and the script). However, the registry metadata does not list any required env vars, which is an inconsistency. Embedding a default API key in code/documentation is potentially sensitive (may be a public/demo key, but you should not rely on it).
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and only writes output files to the working directory when saving results. Autonomous invocation defaults are unchanged.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install eastmoney-finance-news
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /eastmoney-finance-news 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of eastmoney-finance-news skill. - Enables search and retrieval of financial news, reports, announcements, and policy analysis from Eastmoney. - Returns readable text including titles, related securities, and core content. - Supports search using natural language questions. - Optional: save results to the working directory. - Requires an Eastmoney API key (default provided).
元数据
Slug eastmoney-finance-news
版本 1.0.0
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 1
常见问题

Eastmoney Financial Search 是什么?

Search and retrieve timely financial news, reports, announcements, and policy analyses based on user queries from Eastmoney data. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1135 次。

如何安装 Eastmoney Financial Search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install eastmoney-finance-news」即可一键安装,无需额外配置。

Eastmoney Financial Search 是免费的吗?

是的,Eastmoney Financial Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Eastmoney Financial Search 支持哪些平台?

Eastmoney Financial Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Eastmoney Financial Search?

由 yunduanmanbu(@yunduanmanbu)开发并维护,当前版本 v1.0.0。

💬 留言讨论