Eastmoney Financial Search 1.0.2
/install eastmoney-financial-search-1-0-2
东方财富资讯搜索skill (eastmoney_financial_search)
根据用户问句搜索相关金融资讯,获取与问句相关的资讯信息(如研报、新闻、解读等),并返回可读的文本内容,可选保存到工作目录。
使用方式
- 首先检查环境变量
EASTMONEY_APIKEY是否存在:
如果不存在,提示用户在东方财富Skills页面(https://marketing.dfcfs.com/views/finskillshub/indexuNdYscEA?appfenxiang=1)获取apikey并设置到环境变量。echo $EASTMONEY_APIKEY
⚠️ 安全注意事项
- 外部请求: 本 Skill 会将用户的查询关键词(Keyword)发送至东方财富官方 API 接口 (
mkapi2.dfcfs.com) 进行解析与检索。- 数据用途: 提交的数据仅用于资讯搜索,不包含个人隐私信息。
- 凭据保护: API Key 仅通过环境变量
EASTMONEY_APIKEY在服务端或受信任的运行环境中使用,不会在前端明文暴露。
- 使用POST请求调用接口:
curl -X POST --location 'https://mkapi2.dfcfs.com/finskillshub/api/claw/news-search' \ --header 'Content-Type: application/json' \ --header "apikey: $EASTMONEY_APIKEY" \ --data '{"query":"用户的查询内容"}'
适用场景
当用户查询以下类型的内容时使用本skill:
- 个股资讯:如"格力电器最新研报"、"贵州茅台机构观点"
- 板块/主题:如"商业航天板块近期新闻"、"新能源政策解读"
- 宏观/风险:如"A股具备自然对冲优势的公司 汇率风险"、"美联储加息对A股影响"
- 综合解读:如"今日大盘异动原因"、"北向资金流向解读"
返回说明
| 字段路径 | 简短释义 |
|---|---|
title |
信息标题,高度概括核心内容 |
secuList |
关联证券列表,含代码、名称、类型等 |
secuList[].secuCode |
证券代码(如 002475) |
secuList[].secuName |
证券名称(如立讯精密) |
secuList[].secuType |
证券类型(如股票 / 债券) |
trunk |
信息核心正文 / 结构化数据块,承载具体业务数据 |
示例
import os
import requests
api_key = os.getenv("EASTMONEY_APIKEY")
if not api_key:
raise ValueError("请先设置EASTMONEY_APIKEY环境变量")
url = "https://mkapi2.dfcfs.com/finskillshub/api/claw/news-search"
headers = {
"Content-Type": "application/json",
"apikey": api_key
}
data = {
"query": "立讯精密的资讯"
}
response = requests.post(url, headers=headers, json=data)
response.raise_for_status()
result = response.json()
print(result)
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install eastmoney-financial-search-1-0-2 - After installation, invoke the skill by name or use
/eastmoney-financial-search-1-0-2 - Provide required inputs per the skill's parameter spec and get structured output
What is Eastmoney Financial Search 1.0.2?
本skill基于东方财富妙想搜索能力,基于金融场景进行信源智能筛选,用于获取涉及时效性信息或特定事件信息的任务,包括新闻、公告、研报、政策、交易规则、具体事件、各种影响分析、以及需要检索外部数据的非常识信息等。避免AI在搜索金融场景信息时,参考到非权威、及过时的信息。 It is an AI Agent Skill for Claude Code / OpenClaw, with 2071 downloads so far.
How do I install Eastmoney Financial Search 1.0.2?
Run "/install eastmoney-financial-search-1-0-2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Eastmoney Financial Search 1.0.2 free?
Yes, Eastmoney Financial Search 1.0.2 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Eastmoney Financial Search 1.0.2 support?
Eastmoney Financial Search 1.0.2 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Eastmoney Financial Search 1.0.2?
It is built and maintained by lean-zhouchao (@lean-zhouchao); the current version is v1.0.0.