financial-data
金融数据连接器 — 通过 Data Bridge 获取实时股票、财务报表、估值比率等结构化数据
Skill by claude-office-skills
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/claude-office-skills-financial-data
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/financial-data
What's inside
- Skill name
financial-data- Description
- 金融数据连接器 — 通过 Data Bridge 获取实时股票、财务报表、估值比率等结构化数据
- License
- MIT
- Instructions
- 70 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## 金融数据连接器 v2.0(Data Bridge)
使用内置 `dataBridgePull()` 函数获取金融数据,**无需手写 XHR**。
### 获取综合财务数据
```javascript
var resp = dataBridgePull("yahoo-finance", "stock_info", { ticker: "AAPL" });
if (!resp || !resp.ok) return "获取数据失败: " + (resp ? resp.error : "网络错误");
var d = resp.data;
// d.summary — 公司概况
// d.keyStats — 估值指标
// d.incomeStatements — 历年损益表
// d.balanceSheets — 历年资产负债表
// d.cashFlows — 历年现金流量表
```
### 获取历史价格
```javascript
var resp = dataBridgePull("yahoo-finance", "stock_price", {
ticker: "AAPL",
range: "1y",
interval: "1d"
});
if (!resp || !resp.ok) return "获取价格数据失败";
var prices = resp.data.prices; // [{date, open, high, low, close, volume}, ...]
```
### 数据字段参考
| 路径 | 字段 | 说明 |
|------|------|------|
| `d.summary` | shortName, sector, industry, currency, currentPrice, totalRevenue, grossProfit, netIncome, operatingCashflow, freeCashflow, totalCash, totalDebt, grossMargins, operatingMargins, profitMargins, ebitdaMargins, revenueGrowth, earningsGrowth, debtToEquity, returnOnEquity, returnOnAssets, fullTimeEmployees | 最新汇总 |
| `d.keyStats` | beta, trailingPE, forwardPE, priceToBook, enterpriseValue, enterpriseToRevenue, enterpriseToEbitda, pegRatio, sharesOutstanding, bookValue, dividendYield, marketCap | 估值指标 |
| `d.incomeStatements[i]` | endDate, totalRevenue, costOfRevenue, grossProfit, operatingIncome, netIncome, ebit, ebitda, interestExpense, taxProvision, researchDevelopment, sellingGeneralAdministrative | 损益表 |
| `d.balanceSheets[i]` | endDate, totalAssets, totalCurrentAssets, totalLiabilitiesNetMinorityInterest, totalCurrentLiabilities, stockholdersEquity, cashAndCashEquivalents, longTermDebt, totalDebt, netDebt, propertyPlantEquipment, inventory, receivables, minorityInterest | 资产负债 |
| `d.cashFlows[i]` | endDate, operatingCashFlow, capitalExpenditure, freeCashFlow, depreciationAndAmortization, changeInWorkingCapital | 现金流 |
### Ticker 格式
| 市场 | 格式 | 示例 |
|------|------|------|
| 美股 | 直接代码 | AAPL, MSFT, TSLA |
| 港股 | 代码.HK | 0700.HK, 9988.HK |
| A股(沪) | 代码.SS | 601899.SS, 600519.SS |
| A股(深) | 代码.SZ | 000858.SZ, 002594.SZ |
### 单位转换(配合建模)
Yahoo Finance 返回原始单位(如元),建模统一使用 millions:
```javascript
function _n(v) { return (typeof v === "number" && isNaN(v)) ? 0 : (v == null ? 0 : v); }
function toM(v) { return _n(v) / 1000000; }
ws.Range("B3").Value2 = toM(d.incomeStatements[0].totalRevenue);
```
### 重要规则
- **使用 `dataBridgePull`**:不要手写 XHR,直接调用 `dataBridgePull("yahoo-finance", "stock_info", { ticker: "..." })`
- **检查 `resp.ok`**:数据获取可能失败,必须检查
- **单位统一到 millions**:原始数据 ÷ 1,000,000,用 `toM()` 函数
- **数据安全访问**:`d.incomeStatements && d.incomeStatements.length > 0 ? d.incomeStatements[0].totalRevenue : 0`
- **字段名全部 camelCase**
- **A 股注意后缀**:上海 .SS,深圳 .SZFrom claude-office-skills/claude-office-plugin, MIT.
More from claude-office-skills/claude-office-plugin
- 0.466score
equity-valuation-framework
claude-office-skills
Provides a decision-grade equity valuation playbook and report standard (multiples, DCF, quality assessment, scenarios, margin of safety); used when users…
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
formula-operations
claude-office-skills
公式运算规范 — .Formula 写入、常用公式模板、纠错方法、WPS 特有限制
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
local-access
claude-office-skills
macOS 本地计算机操作 — 日历、通讯录、邮件、提醒、Finder、剪贴板、浏览器、应用控制
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
sandbox-executor
claude-office-skills
沙盒执行器 — 在安全隔离环境中运行 Python/Shell 脚本获取外部数据
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
wps-core-api
claude-office-skills
WPS ET API 核心参考 — 全局变量、Range 读写、格式化、工作表操作、禁用 API
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
sensortower
claude-office-skills
SensorTower 移动应用数据连接器 — App 下载量、收入、DAU/MAU 数据
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
chart-creation
claude-office-skills
WPS 图表创建 — AddChart2 方法、图表类型、配色方案、最佳实践
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
code-rules
claude-office-skills
WPS 代码生成规则 — 单块规则、禁止拆分、数据保护、新建工作表模式
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
data-analysis
claude-office-skills
数据解读与分析 — 统计方法、趋势分析、透视汇总、结论输出规范
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
data-cleaning
claude-office-skills
数据清洗最佳实践 — 空值处理、去重、格式统一、异常值检测、分列操作
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
financial-modeling
claude-office-skills
投行级金融建模引擎 — 公式驱动的多Sheet专业DCF/估值模型
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
equity-valuation
claude-office-skills
股票估值报告引擎 — 数据质量门控/多方法估值/质量评估/风险矩阵/决策框架的 Excel 完整估值工作簿
SkillDFreshness: D★ 9Claude Code +9
Signals
- Stars
- 9
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Mar 9, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from claude-office-skills
- 0.549score
amazon-seller
claude-office-skills
Trigger: amazon-seller, Automate Amazon seller operations including inventory, orders, pricing, and advertising management.
SkillBFreshness: B★ 1Claude Code +9 - 0.466score
equity-valuation-framework
claude-office-skills
Provides a decision-grade equity valuation playbook and report standard (multiples, DCF, quality assessment, scenarios, margin of safety); used when users…
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
local-access
claude-office-skills
macOS 本地计算机操作 — 日历、通讯录、邮件、提醒、Finder、剪贴板、浏览器、应用控制
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
wps-core-api
claude-office-skills
WPS ET API 核心参考 — 全局变量、Range 读写、格式化、工作表操作、禁用 API
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
sensortower
claude-office-skills
SensorTower 移动应用数据连接器 — App 下载量、收入、DAU/MAU 数据
SkillDFreshness: D★ 9Claude Code +9 - 0.464score
sandbox-executor
claude-office-skills
沙盒执行器 — 在安全隔离环境中运行 Python/Shell 脚本获取外部数据
SkillDFreshness: D★ 9Claude Code +9
Cite this page
financial-data skill. Agent Mart. https://agentmart.dev/skills/claude-office-skills-financial-data (last updated 2026-10-24)