← Back to Skills Marketplace
1536
Downloads
2
Stars
9
Active Installs
2
Versions
Install in OpenClaw
/install eastmoney-tools
Description
东方财富金融数据工具集,集成选股、资讯搜索、行情财务查询三大功能。当用户查询 A股、港股、美股相关数据时使用,包括:条件选股、股票推荐、板块成分股;新闻、公告、研报、政策搜索;实时行情、财务指标、公司信息、资金流向等数据查询。
README (SKILL.md)
东方财富金融工具集 (eastmoney-tools)
统一入口,根据用户 query 自动路由到合适的 API。支持多 API Key 轮换。
API Key 配置
方式 1:单 Key(环境变量)
export EASTMONEY_APIKEY="your-api-key"
方式 2:多 Key 轮换(vault)
从 vault 读取多个 key,按顺序轮换:
cat ~/.openclaw/workspace/vault/credentials/eastmoney.json
vault 文件格式:
{
"name": "Eastmoney API Keys",
"keys": [
"mkt_xxx1",
"mkt_xxx2",
"mkt_xxx3"
]
}
获取 Key
如果没有设置 EASTMONEY_APIKEY,从 vault 读取:
cat ~/.openclaw/workspace/vault/credentials/eastmoney.json
路由规则
根据用户意图自动判断调用哪个 API:
| 用户意图关键词 | 路由到 | API 端点 |
|---|---|---|
| 选股、推荐股票、条件筛选、符合xx的股票、成分股 | 选股 | /finskillshub/api/claw/stock-screen |
| 新闻、资讯、消息、公告、研报、政策、解读 | 资讯搜索 | /finskillshub/api/claw/news-search |
| 股价、市值、PE、市盈率、财报、盈利、利润、收入、资金流向、基本面 | 数据查询 | /finskillshub/api/claw/query |
API 调用
公共配置
API_BASE="https://mkapi2.dfcfs.com"
多 Key 轮换逻辑
- 优先使用环境变量
EASTMONEY_APIKEY - 如果环境变量未设置,从 vault 读取多个 key
- 按顺序尝试每个 key
- 如果返回
status != 0(限流或错误),自动切换下一个 key - 所有 key 都失败后返回错误
1. 选股 API
curl -X POST "${API_BASE}/finskillshub/api/claw/stock-screen" \
-H "Content-Type: application/json" \
-H "apikey: ${API_KEY}" \
-d '{"keyword": "用户查询", "pageNo": 1, "pageSize": 20}'
适用场景:
- 条件选股:"今日涨幅2%的股票"、"市盈率低于10的银行股"
- 板块成分股:"半导体板块的成分股"
- 股票推荐:"低估值高分红的股票推荐"
2. 资讯搜索 API
curl -X POST "${API_BASE}/finskillshub/api/claw/news-search" \
-H "Content-Type: application/json" \
-H "apikey: ${API_KEY}" \
-d '{"query": "用户查询"}'
适用场景:
- 个股资讯:"格力电器最新研报"
- 板块新闻:"新能源政策解读"
- 宏观分析:"美联储加息对A股影响"
3. 数据查询 API
curl -X POST "${API_BASE}/finskillshub/api/claw/query" \
-H "Content-Type: application/json" \
-H "apikey: ${API_KEY}" \
-d '{"toolQuery": "用户查询"}'
适用场景:
- 行情数据:"贵州茅台最新价"
- 财务指标:"宁德时代市盈率"
- 公司信息:"比亚迪主营业务"
错误处理
- 自动重试:当某个 key 被限流(返回非 status=0),自动切换到下一个 key
- 保持返回原始 JSON 格式,不做转换
Usage Guidance
Before installing: verify the skill's source and vendor (no homepage/source provided). Confirm whether the skill truly requires EASTMONEY_APIKEY and prefer setting that environment variable yourself rather than relying on the skill to read a local vault. The SKILL.md tells the agent to cat ~/.openclaw/workspace/vault/credentials/eastmoney.json (not declared in the manifest) — this could expose multiple API keys or other sensitive data. If you proceed, either (a) set a single EASTMONEY_APIKEY in the agent environment and ensure the agent is blocked from reading your vault path, or (b) inspect the vault file contents locally and ensure it only contains keys you intend to share. Also verify the API_BASE domain (https://mkapi2.dfcfs.com) is legitimate for your use. If you cannot confirm the publisher or do not want the agent to access local credential files, do not install or enable autonomous invocation for this skill.
Capability Analysis
Type: OpenClaw Skill
Name: eastmoney-tools
Version: 1.0.1
The skill is a financial data toolset for the Eastmoney platform (dfcfs.com), providing endpoints for stock screening, news search, and market data. It includes instructions for the agent to manage API keys, including a fallback mechanism to read credentials from a specific local file (~/.openclaw/workspace/vault/credentials/eastmoney.json). The behavior is well-documented, uses legitimate corporate domains, and lacks any indicators of malicious intent or unauthorized data exfiltration.
Capability Assessment
Purpose & Capability
The name/description (Eastmoney financial data: screening, news, query) align with the APIs and API_BASE used. However, the registry metadata earlier claimed no required env vars while SKILL.md declares EASTMONEY_APIKEY as required and documents vault-based multi-key rotation — this metadata mismatch is an inconsistency that should be resolved.
Instruction Scope
Runtime instructions explicitly tell the agent to read a local vault file (cat ~/.openclaw/workspace/vault/credentials/eastmoney.json) when the environment variable is absent. That file path is not declared in the skill's manifest. Direct instructions to read local files (especially credential stores) are scope-creep and present a potential data-exposure vector.
Install Mechanism
No install spec and no code files are present (instruction-only). This minimizes installation risk because nothing is downloaded or written to disk by an installer.
Credentials
Requesting an EASTMONEY_APIKEY is proportionate to the stated purpose. However, the SKILL.md also relies on a vault file containing multiple API keys and instructs reading it without declaring required config paths. That increases the scope of sensitive data access beyond the single API key and is not justified in the manifest.
Persistence & Privilege
The skill is not always-enabled and is user-invocable; autonomous invocation is allowed (platform default). Autonomous invocation combined with explicit instructions to read a local vault raises the blast radius if the agent runs the skill without tight file-access controls, so be cautious even though 'always' is false.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install eastmoney-tools - After installation, invoke the skill by name or use
/eastmoney-tools - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
新增多 API Key 轮换功能,支持每日 50+ 次调用
v1.0.0
eastmoney-tools 1.0.0 changelog:
- Initial release of comprehensive financial data tools for 东方财富.
- Supports stock screening, news search, and real-time financial data queries for A-shares, Hong Kong stocks, and US stocks.
- Automatic routing to stock screening, news, or data query APIs based on user intent and keywords.
- Requires an API key (EASTMONEY_APIKEY) from 东方财富技能市场.
- Handles errors by trying alternative APIs and returns raw JSON format.
Metadata
Frequently Asked Questions
What is 东方财富金融工具集?
东方财富金融数据工具集,集成选股、资讯搜索、行情财务查询三大功能。当用户查询 A股、港股、美股相关数据时使用,包括:条件选股、股票推荐、板块成分股;新闻、公告、研报、政策搜索;实时行情、财务指标、公司信息、资金流向等数据查询。 It is an AI Agent Skill for Claude Code / OpenClaw, with 1536 downloads so far.
How do I install 东方财富金融工具集?
Run "/install eastmoney-tools" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 东方财富金融工具集 free?
Yes, 东方财富金融工具集 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 东方财富金融工具集 support?
东方财富金融工具集 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 东方财富金融工具集?
It is built and maintained by moer (@torchesfrms); the current version is v1.0.1.
More Skills