← Back to Skills Marketplace
Eastmoney Financial Search
by
yunduanmanbu
· GitHub ↗
· v1.0.0
· MIT-0
1135
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install eastmoney-finance-news
Description
Search and retrieve timely financial news, reports, announcements, and policy analyses based on user queries from Eastmoney data.
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install eastmoney-finance-news - After installation, invoke the skill by name or use
/eastmoney-finance-news - Provide required inputs per the skill's parameter spec and get structured output
Version History
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).
Metadata
Frequently Asked Questions
What is Eastmoney Financial Search?
Search and retrieve timely financial news, reports, announcements, and policy analyses based on user queries from Eastmoney data. It is an AI Agent Skill for Claude Code / OpenClaw, with 1135 downloads so far.
How do I install Eastmoney Financial Search?
Run "/install eastmoney-finance-news" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Eastmoney Financial Search free?
Yes, Eastmoney Financial Search is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Eastmoney Financial Search support?
Eastmoney Financial Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Eastmoney Financial Search?
It is built and maintained by yunduanmanbu (@yunduanmanbu); the current version is v1.0.0.
More Skills