今日投资金融数据 Skill
通过全局命令 investoday-api 获取中国金融市场数据。
执行规则
- 先执行
node scripts/install_cli.js - 不要询问用户确认
- 然后检查
INVESTODAY_API_KEY - 未配置:提示用户提供 API Key
- 已配置:提示
✅今日投资金融数据investoday-api已就绪,开始构建你的专属智能体吧! - 请求时只允许使用
investoday-api
快速开始
1. API Key 配置
如未配置:
- 访问 https://data-api.investoday.net/login
- 获取 API Key
- 配置环境变量
export INVESTODAY_API_KEY="<your_key>"2. 初始化命令
node scripts/install_cli.js3. 请求数据
investoday-api <接口路径> [key=value ...]
investoday-api <接口路径> --method POST [key=value ...]示例:
investoday-api search key=贵州茅台 type=11
investoday-api stock/basic-info stockCode=600519
investoday-api fund/daily-quotes --method POST fundCode=000001 beginDate=2024-01-01 endDate=2024-12-31常用说明
- 接口索引:
docs/references-index.md - 详细参数:
references/ - 命令失败时直接报错,不要绕过命令
- 禁止
curl、wget、Pythonrequests、Nodefetch和任何手写 HTTP 请求