Loading...
Loading...
Compare original and translation side by side
| Mode | When to Use | Requirements |
|---|---|---|
| Gemini Mode | Default when GEMINI_API_KEY is configured | GEMINI_API_KEY environment variable |
| Claude Native Mode | When no Gemini API or user requests | WebSearch tool access |
| 模式 | 适用场景 | 要求 |
|---|---|---|
| Gemini模式 | 配置GEMINI_API_KEY时的默认模式 | GEMINI_API_KEY环境变量 |
| Claude原生模式 | 无Gemini API或用户要求时使用 | 可访问WebSearch工具 |
WebSearch: "{company_name} latest 10-K 10-Q SEC filing"WebSearch: "{company_name} latest 10-K 10-Q SEC filing"python3.11 scripts/download_sec_filings.py --ticker <TICKER> --type <10-K|10-Q|6-K> --limit 1<project_root>/investment-research/{TICKER}/tmp/sec_filings/cleaned.txtpython3.11 scripts/download_sec_filings.py --ticker <TICKER> --type <10-K|10-Q|6-K> --limit 1<project_root>/investment-research/{TICKER}/tmp/sec_filings/cleaned.txtindustry-analysis-modules.mdfinancial-analysis-framework.mdtmp/analysis-framework-YYYY-MM-DD.mdindustry-analysis-modules.mdfinancial-analysis-framework.mdtmp/analysis-framework-YYYY-MM-DD.mdpython3.11 scripts/gemini_deep_research.py \
--input <cleaned.txt path> \
--prompt <analysis framework path> \
--output-dir <project_root>/investment-research/<TICKER> \
--ticker <TICKER> \
--company <Company Name> \
--phase allprompts/claude-deep-research-protocol.mdpython3.11 scripts/gemini_deep_research.py \
--input <cleaned.txt path> \
--prompt <analysis framework path> \
--output-dir <project_root>/investment-research/<TICKER> \
--ticker <TICKER> \
--company <Company Name> \
--phase allprompts/claude-deep-research-protocol.mdmarkdown-formatter-rules.mdinvestment-research/{TICKER}/markdown-formatter-rules.mdinvestment-research/{TICKER}/User Input → Download Filing → Framework Generation → Phase 1 Filing Analysis → Phase 2 Web Research → Integration → Final Report
↓ ↓
(Gemini Deep Research) (Gemini Deep Research)prompts/report-merge-prompt.md用户输入 → 下载文件 → 生成框架 → 阶段1 文件分析 → 阶段2 网络研究 → 整合 → 最终报告
↓ ↓
(Gemini深度研究) (Gemini深度研究)prompts/report-merge-prompt.mdprompts/claude-deep-research-protocol.mdprompts/claude-deep-research-protocol.md| Phase | Name | Description |
|---|---|---|
| 1 | Question Scoping | Define goals, download filing |
| 2 | Retrieval Planning | Identify industry, create research plan |
| 3 | Iterative Querying | GoT branches: Financial, Competitive, Industry, Management, Risk |
| 4 | Source Triangulation | Cross-validate findings |
| 5 | Knowledge Synthesis | Structure report per framework |
| 6 | Quality Assurance | Chain-of-Verification |
| 7 | Output Packaging | Format and save |
| 阶段 | 名称 | 描述 |
|---|---|---|
| 1 | 问题界定 | 定义目标,下载文件 |
| 2 | 检索规划 | 识别行业,制定研究计划 |
| 3 | 迭代查询 | GoT分支:财务、竞争、行业、管理层、风险 |
| 4 | 来源三角验证 | 交叉验证研究结果 |
| 5 | 知识整合 | 按照框架结构化报告 |
| 6 | 质量保证 | 验证链(Chain-of-Verification) |
| 7 | 输出打包 | 格式化并保存 |
| Branch | Method | Focus |
|---|---|---|
| A | Read filing | Financial data analysis |
| B | WebSearch | Competitive landscape |
| C | WebSearch | Industry trends |
| D | WebSearch | Management verification |
| E | WebSearch | Risk factors |
| 分支 | 方法 | 重点 |
|---|---|---|
| A | 读取文件 | 财务数据分析 |
| B | WebSearch | 竞争格局 |
| C | WebSearch | 行业趋势 |
| D | WebSearch | 管理层信息验证 |
| E | WebSearch | 风险因素 |
| Document | Purpose |
|---|---|
| financial-analysis-framework.md | Base analysis framework |
| industry-analysis-modules.md | Industry-specific modules |
| markdown-formatter-rules.md | Report formatting rules |
| prompts/claude-deep-research-protocol.md | Claude Native 7-phase guide |
| prompts/report-merge-prompt.md | Gemini mode report integration |
| 文档 | 用途 |
|---|---|
| financial-analysis-framework.md | 基础分析框架 |
| industry-analysis-modules.md | 行业特定模块 |
| markdown-formatter-rules.md | 报告格式化规则 |
| prompts/claude-deep-research-protocol.md | Claude原生7阶段指南 |
| prompts/report-merge-prompt.md | Gemini模式报告整合提示词 |
<project_root>/investment-research/{TICKER}/
├── tmp/
│ ├── sec_filings/cleaned.txt
│ ├── analysis-framework-YYYY-MM-DD.md
│ ├── phase1-YYYY-MM-DD.md
│ └── phase2-YYYY-MM-DD.md
└── {TICKER}-Investment-Report-YYYY-MM-DD.md<project_root>/investment-research/{TICKER}/
├── tmp/
│ ├── sec_filings/cleaned.txt
│ ├── analysis-framework-YYYY-MM-DD.md
│ ├── phase1-YYYY-MM-DD.md
│ └── phase2-YYYY-MM-DD.md
└── {TICKER}-Investment-Report-YYYY-MM-DD.md