con un clic
eastmoney-financial-data
// 东方财富金融数据查询工具。支持行情数据(股价、资金流向、估值)、财务数据(财报、股东结构、高管信息)、关系与经营数据。通过自然语言查询,如"东方财富最新价"、"贵州茅台市盈率"。当用户需要查询股票、基金、指数、板块等金融数据时使用此skill。需要先配置apikey才能使用。
// 东方财富金融数据查询工具。支持行情数据(股价、资金流向、估值)、财务数据(财报、股东结构、高管信息)、关系与经营数据。通过自然语言查询,如"东方财富最新价"、"贵州茅台市盈率"。当用户需要查询股票、基金、指数、板块等金融数据时使用此skill。需要先配置apikey才能使用。
| name | eastmoney-financial-data |
| description | 东方财富金融数据查询工具。支持行情数据(股价、资金流向、估值)、财务数据(财报、股东结构、高管信息)、关系与经营数据。通过自然语言查询,如"东方财富最新价"、"贵州茅台市盈率"。当用户需要查询股票、基金、指数、板块等金融数据时使用此skill。需要先配置apikey才能使用。 |
基于东方财富权威数据库,通过自然语言查询金融相关数据。
访问东方财富Skills页面获取 apikey
方式一(推荐)- 使用命令配置:
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py config <your_apikey>
方式二 - 环境变量:
export EASTMONEY_APIKEY=<your_apikey>
方式三 - 手动创建文件:
mkdir -p ~/.openclaw
echo "<your_apikey>" > ~/.openclaw/eastmoney_apikey
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '<查询语句>'
# 股价查询
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '东方财富最新价'
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '贵州茅台收盘价'
# 估值指标
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '宁德时代市盈率'
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '中国平安市净率'
# 资金流向
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '比亚迪主力资金流向'
# 指数数据
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '上证指数今日涨幅'
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '创业板指成交量'
# 板块数据
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '半导体板块涨幅'
# 财务数据
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '茅台2024年净利润'
python3 ~/.openclaw/workspace/skills/eastmoney-financial-data/scripts/financial_data.py query '工商银行股东户数'
脚本会输出:
~/.openclaw/workspace/financial_data/import sys
sys.path.insert(0, '/home/chenbaifu/.openclaw/workspace/skills/eastmoney-financial-data/scripts')
from financial_data import query_financial_data, parse_result
# 查询
data = query_financial_data("东方财富最新价")
result, error = parse_result(data)
if result:
print(f"查询成功,涉及 {len(result.get('entityTagDTOList', []))} 个证券")
for item in result.get('dataTableDTOList', []):
print(f"指标: {item.get('title', '')}")
| 查询类型 | 示例语句 |
|---|---|
| 最新价 | XX股票最新价 |
| 涨跌幅 | XX今日涨幅 |
| 市盈率 | XX市盈率 / XX PE |
| 资金流向 | XX主力资金流向 / XX资金净流入 |
| 成交量 | XX今日成交量 |
| 财务数据 | XX净利润 / XX营业收入 |
| 股东数据 | XX十大流通股东 / XX股东户数 |
| 指数数据 | 上证指数最新价 / 创业板指涨幅 |
| 板块数据 | XX板块涨幅 / XX板块资金流向 |
| 字段路径 | 说明 |
|---|---|
dataTableDTOList[].entityName | 证券全称 |
dataTableDTOList[].code | 证券代码(含市场标识) |
dataTableDTOList[].title | 指标标题 |
dataTableDTOList[].table | 表格数据 |
dataTableDTOList[].nameMap | 列名映射(编码转中文) |
entityTagDTOList[].secuCode | 证券纯代码 |
entityTagDTOList[].marketChar | 市场标识(.SZ/.SH) |
entityTagDTOList[].entityTypeName | 证券类型(A股/港股等) |
⚠️ 重要提示
如果查询返回空数据,会提示用户访问东方财富妙想AI进行查询。
Compress text semantically with iterative validation, anchor checksums, and verified information preservation.
东方财富资讯搜索工具。基于东方财富妙想搜索能力,用于获取金融相关的新闻、公告、研报、政策、交易规则、事件分析、影响解读等时效性信息。支持个股资讯、板块新闻、宏观分析等。当用户需要搜索金融资讯、了解市场动态、查看研报解读时使用此skill。需要先配置apikey才能使用。
东方财富智能选股工具。支持基于自然语言查询筛选股票,包括行情指标、财务指标等条件;可查询指定行业/板块内的股票;支持A股、港股、美股。当用户需要选股、筛选股票、按条件查找股票时使用此skill。需要先配置apikey才能使用。
Compress files to reduce storage and transfer size. Use this skill when users ask to shrink PDFs or images, optimize upload/share size, or balance quality and size. Supports PDF compression and image compression with Python-first workflows plus Node.js fallback when Python dependencies are unavailable.
全自动检索 GitHub 热门仓库,分析并维护项目文档,自动提交 PR。用于发现文档问题(死链、typo、过时内容等)并自动修复提交。当用户需要批量维护开源项目文档、自动提 PR 修复文档问题时触发此技能。
Use Model Context Protocol servers to access external tools and data sources. Enable AI agents to discover and execute tools from configured MCP servers (legal databases, APIs, database connectors, weather services, etc.).