mhmdiaa/acquiscan
GitHub: mhmdiaa/acquiscan
一个从 SEC 公开文件中自动解析并提取企业收购及子公司结构信息的情报收集工具。
Stars: 2 | Forks: 0
# AcquiScan
从 SEC 文件中提取收购和子公司信息。
## 功能特性
- 无需 API 密钥。AcquiScan 直接使用 SEC EDGAR 的公共 API。LLM 集成是可选的。
- 附件解析(`exhibits` 模式)从年度文件中附带的结构化 EX-21 和 EX-8 附件文档中提取子公司名单。此模式快速且确定性强。
- LLM 驱动的提取(`llm` 模式)通过关键词匹配在 10-K、10-Q、8-K、20-F 和 6-K 文件中查找与收购相关的摘录,然后将其发送给 LLM 以提取公司名称、收购日期、所有权结构(全资或部分)、战略理由、任何品牌重塑或整合到其他产品的情况,以及随后的资产剥离。
- 使用 `--from-date` 和 `--to-date` 进行日期过滤,将结果限定在特定时间范围内,以便持续监控。
## 模式
### `exhibits`(默认)
解析 10-K/20-F 文件中的 EX-21 和 EX-8 附件文档,以提取子公司列表。
```
$ acquiscan 'apple' --mode exhibits --from-date 2025
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Asia LLC
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Asia Limited
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Canada Inc.
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Computer Trading (Shanghai) Co., Ltd.
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Distribution International Limited
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple India Private Limited
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Insurance Company, Inc.
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Japan, Inc.
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Korea Limited
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Operations International Limited
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Operations Limited
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Operations Mexico, S.A. de C.V.
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Pty Limited
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Services Pte. Ltd.
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple South Asia (Thailand) Limited
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple South Asia Pte. Ltd.
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Apple Vietnam Limited Liability Company
[Apple Inc.] [exhibits] [10-K] [2025-10-31] Braeburn Capital, Inc.
[Apple Inc.] [exhibits] [10-K] [2025-10-31] iTunes K.K.
```
### `llm`
使用关键词匹配扫描 10-K、10-Q、8-K、20-F 和 6-K 文件中与收购相关的文本摘录,并将其发送给 LLM 以提取结构化的收购数据。需要在配置中设置 `llm_api_key`。
```
$ acquiscan ‘uber’ --mode llm --from-date 2026
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Careem
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Careem Technologies
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Postmates
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Cornershop
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] The Drizly Group, Inc. (Drizly)
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Transplace
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Freight Holding (Uber Freight subsidiary)
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Delivery Hero SE (investment)
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Foodpanda Taiwan (Delivery Hero’s Foodpanda Taiwan)
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Trendyol GO
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Getir (pending acquisition of delivery portfolio in Türkiye)
[Uber Technologies, Inc] [llm] [10-K] [2026-02-13] Uber Payments B.V.
```
## 覆盖范围
- `exhibits` 解析 10-K 和 20-F 文件的 EX-21/EX-8 附件中的结构化子公司列表,但这些附件仅包含重要到需要披露的子公司。较小的收购和最近完成的交易可能不会出现。
- `llm` 提取 10-K、10-Q、8-K、20-F 和 6-K 文件叙述文本中提及的收购,并获取在上下文中讨论的交易。然而,公司并非必须讨论其收购或拥有的每个实体。悄然完成的收购可能不会出现在任何文件中。LLM 的回复也可能包含不准确之处,您应将其作为进一步研究的线索。
## 安装
```
pip install acquiscan
```
首次运行时,AcquiScan 会在 `~/.acquiscan.yaml` 处创建一个配置文件,您可以在其中设置您的 SEC user-agent 和(可选的)OpenAI API key。
## 用法
| 选项 | 描述 |
|---|---|
| `--mode, -m` | `exhibits` 或 `llm`(默认值:`exhibits`)|
| `--json, -j` | 输出为 JSON |
| `--output, -o` | 输出文件路径(默认值:stdout)|
| `--silent, -s` | 隐藏进度输出 |
| `--from-date` | 仅包含此日期及之后的文件(YYYY-MM-DD)|
| `--to-date` | 仅包含此日期及之前的文件(YYYY-MM-DD)|
| `--include-filings` | 在 JSON 输出中包含按文件的细分(仅限 LLM 模式)|
| `--include-excerpts` | 在 JSON 输出中包含摘录(仅限 LLM 模式,隐含 `--include-filings`)|
标签:10-K/10-Q分析, C2, EDGAR数据库, GitHub, OSINT工具, Petitpotam, SEC文件解析, URL抓取, 企业并购信息提取, 大语言模型应用, 子公司清单提取, 实时处理, 尽职调查, 数据抓取, 数据泄露, 无线安全, 知识提取, 网络安全情报, 逆向工具, 金融数据分析