InvestToday Finance Data

今日投资数据市场金融数据接口,覆盖A股/港股/基金/指数/宏观经济 180+ 个接口。当需要查询股票行情、财务报表、公司公告、研报评级、基金净值、行业分析、宏观经济指标时使用;或需要实体识别(股票代码与名称互转)、构建量化分析、生成投研报告等金融数据场景。

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 20 · 0 current installs · 0 all-time installs
byinvestoday@kenneth-bro
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (financial data API) match the declared requirement (INVESTODAY_API_KEY) and the files (SKILL.md, references, and a small scripts/call_api.py) for calling an external data endpoint. No unrelated services or credentials are requested.
Instruction Scope
SKILL.md instructs creating a local .env with INVESTODAY_API_KEY and running scripts/scripts/call_api.py to query endpoints; it documents the external endpoint and warns not to print the key. Instructions do not ask to read unrelated system files or other environment variables.
Install Mechanism
No install spec is provided (instruction-only with one helper script), so nothing is downloaded or installed automatically. The presence of a small script is expected and proportionate for a CLI-style API wrapper.
Credentials
Only a single API key (INVESTODAY_API_KEY) is required and declared as the primary credential — appropriate and expected for an API wrapper. No other secrets/config paths are requested.
Persistence & Privilege
Skill is not marked always:true and uses normal user-invocable/autonomous defaults. It does not request persistent elevated privileges or modify other skills' configurations (none documented).
Assessment
This skill appears coherent for accessing the InvestToday financial API and only asks for an INVESTODAY_API_KEY. Before installing: 1) Verify you trust data-api.investoday.net (the SKILL.md says queries and the API key are sent there over HTTPS). 2) Follow the provided API key handling advice (store key in a .env, add .env to .gitignore, do not print the key). 3) Inspect scripts/call_api.py yourself to confirm it only sends queries to the documented endpoint and does not log or exfiltrate other environment variables or local files. 4) Prefer giving the API key only the minimum permissions needed and rotate/revoke it if you stop using the skill.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.5
Download zip
a-sharevk971f8vaf4j8dfp93z528yjpkx831cmwetfvk971f8vaf4j8dfp93z528yjpkx831cmwfinancevk971f8vaf4j8dfp93z528yjpkx831cmwfinancial-datavk971f8vaf4j8dfp93z528yjpkx831cmwfundvk971f8vaf4j8dfp93z528yjpkx831cmwhk-stockvk971f8vaf4j8dfp93z528yjpkx831cmwindexvk971f8vaf4j8dfp93z528yjpkx831cmwinvestment-researchvk971f8vaf4j8dfp93z528yjpkx831cmwlatestvk971f8vaf4j8dfp93z528yjpkx831cmwmacro-economicsvk971f8vaf4j8dfp93z528yjpkx831cmwmarket-datavk971f8vaf4j8dfp93z528yjpkx831cmwquantitativevk971f8vaf4j8dfp93z528yjpkx831cmwquotevk971f8vaf4j8dfp93z528yjpkx831cmwstockvk971f8vaf4j8dfp93z528yjpkx831cmw

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

📈 Clawdis
EnvINVESTODAY_API_KEY
Primary envINVESTODAY_API_KEY

SKILL.md

今日投资数据市场 (InvestToday)

今日投资数据市场提供 A 股、港股、基金、指数、宏观经济等 180+ 个金融数据接口。

API Key

  • 注册获取 API Key
  • 在当前 Skill 所在的根目录创建 .env 文件(与 SKILL.md 同级目录),例如:
    • Cursor:.cursor/skills/investoday-finance-data/.env
    • Claude Code:.claude/skills/investoday-finance-data/.env
INVESTODAY_API_KEY=<your_key>
  • 也可通过环境变量配置(注意不要在终端历史中留下明文 Key)

⚠️ API Key 安全规范(必须严格遵守):

  1. 禁止在任何控制台输出、日志、对话消息中显示 API Key 的明文内容
  2. 用户提供 API Key 时:
    • 直接写入 .env 文件,不要 echo / print / 回显 Key 内容
    • 确认 .env 已加入 .gitignore
    • 写入完成后,必须向用户输出以下提示:

✅ API Key 已配置完成。API Key 是您访问数据的唯一凭证,请妥善保管,切勿通过聊天、截图或代码提交等任何方式泄露给他人。

  1. 调用 API 时,不要在命令行参数、日志或错误信息中包含 API Key
  2. 如需验证 Key 是否已配置,只输出"已配置"或"未配置",不要输出 Key 的任何部分

调用接口

# GET(默认)
python skills/scripts/call_api.py <接口路径> [key=value ...]

# POST(参数以 JSON body 发送)
python skills/scripts/call_api.py <接口路径> --method POST [key=value ...]

# array 参数:同一 key 重复传入
python skills/scripts/call_api.py <接口路径> --method POST codes=000001 codes=000002

接口的 GET / POST 方法见 references/ 文档中的标记。输出为 JSON,失败时打印错误信息。

示例

python skills/scripts/call_api.py search key=贵州茅台 type=11
python skills/scripts/call_api.py stock/basic-info stockCode=600519
python skills/scripts/call_api.py stock/adjusted-quotes stockCode=600519 beginDate=2024-01-01 endDate=2024-12-31
python skills/scripts/call_api.py fund/daily-quotes --method POST fundCode=000001 beginDate=2024-01-01 endDate=2024-12-31

接口索引

在对应分类的 references/ 文档中查找接口路径输入参数

分类子分类接口数文档
基础数据5基础数据.md
市场数据1市场数据.md
沪深京数据基础信息4基础信息.md
股票行情17股票行情.md
财务数据24财务数据.md
特色数据18特色数据.md
公司行为29公司行为.md
板块基础行情3基础行情.md
衍生行情2衍生行情.md
基础数据3基础数据.md
财务数据1财务数据.md
特色数据1特色数据.md
分析与预测1分析与预测.md
指数基础行情2基础行情.md
技术指标1技术指标.md
行情衍生数据1行情衍生数据.md
指数资料1指数资料.md
新闻与观点基础数据2基础数据.md
研报基础数据1基础数据.md
特色数据1特色数据.md
投资评级2投资评级.md
公告2公告.md
港股财务数据3财务数据.md
基础数据3基础数据.md
港股行情7港股行情.md
公司行为2公司行为.md
工具图标2图标.md
宏观经济国内宏观2国内宏观.md
大模型语料2大模型语料.md
基金基金行情4基金行情.md
基金资料12基金资料.md
基金业绩表现12基金业绩表现.md
基金投资组合6基金投资组合.md
基金持有人2基金持有人.md
特色数据3特色数据.md
ETF基金2ETF基金.md
基金财务数据2基金财务数据.md

安全与隐私

  • 离开本机的数据:接口路径、查询参数、INVESTODAY_API_KEY(通过 HTTPS 发送至 data-api.investoday.net
  • 不离开本机的数据:本地文件、环境中的其他变量、对话内容
  • API Key 仅用于身份验证,不会被记录或转发至第三方

外部接口

端点用途发送的数据
https://data-api.investoday.net/data/cloud/*金融数据查询API Key(Header)、查询参数

信任声明:本 Skill 会将查询请求发送至今日投资数据平台(data-api.investoday.net)。请在信任该平台后再安装使用。

相关链接

官方网站 · 常见问题 · 联系我们

Keywords

stock, fund, ETF, index, bond, A-share, HK stock, China market, financial data, market data, quote, realtime quote, financial statement, balance sheet, income statement, cash flow, valuation, dividend, IPO, announcement, research report, analyst rating, macro economics, quantitative, investment research, portfolio, backtesting, finance API, 股票, 基金, 行情, 财务, A股, 港股, 指数, 宏观经济, 研报, 公告, 量化, 投研, 净值, 分红, 财报, 龙虎榜, 融资融券, 大宗交易, 股东, 十大流通股东, 板块, 行业分析

Files

39 total
Select a file
Select a file to preview.

Comments

Loading comments…