Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Queries A-share quotes, historical K-lines, financial indicators, company news, concepts, industry and market data via bundled scripts.
4 of 23 test cases passed with the skill.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
入口:scripts/fetch_company_news.py,Python 3.9+,只依赖 requests。
用户问「某公司最近有什么资讯」「这周公告」「最新消息」时优先此入口。
先确定股票代码;已知证券简称时提供 --name,否则通过腾讯行情自动解析简称。
不要将公司名随意截短,否则可能混入其他公司。
python3 "$SKILL_DIR/scripts/fetch_company_news.py" --code 300476 --name 胜宏科技 --days 7 --json
python3 "$SKILL_DIR/scripts/fetch_company_news.py" --code 000001 --days 30 --scope news --json
python3 "$SKILL_DIR/scripts/fetch_company_news.py" --code 600519 --days 30 --scope announcements --json
| 参数 | 默认 | 含义 |
|---|---|---|
--code | 必填 | 六位代码,支持 sh/sz/bj 前缀及 .SH/.SZ/.BJ/.XSHG/.XSHE 后缀 |
--name | 自动解析 | 精确证券简称 |
--days | 7 | 自然日,含今天,Asia/Shanghai,范围1–366 |
--scope | all | all / news / announcements |
--limit | 20 | 合并去重后最多条数,1–200 |
--pages | 2 | 每个来源最多页数,1–5;不是保证完整覆盖 |
--max-seconds | 20 | 整体等待上限,1–60秒;保留已完成源的结果 |
--title-only | 关闭 | 可选精确标题过滤;默认保留上游候选,由调用方判断语义 |
--no-cache | 关闭 | 跳过结果缓存,重新查询;代码映射仍可用缓存 |
--json | 关闭 | 结构化输出 |
数据路线:
sort=time,过滤查询窗口。默认保留上游候选,不按标题/摘要规则丢弃新闻;matched_in 只记录精确文本出现位置。000001 的候选可能涉及上证指数,调用方需判断;可显式加 --title-only 收紧。--no-cache 绕过两层资讯缓存。各源记录 cache_hits/network_requests/fetched_at,保留实际获取时间,不以缓存查询时间冒充数据更新时间。返回顶层 status/code/name/meta/data。
| status | 含义 |
|---|---|
| ok | 所有请求源响应成功,窗口内有匹配 |
| empty | 所有请求源响应成功,在已查询页中没有匹配;仍需看 coverage_limited |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.