Turtle analysis

From terancejiang/Turtle_investment_framework · View interactive version

Turtle analysis is an AI agent skill from the GitHub repository terancejiang/Turtle_investment_framework. - **Description**: Run a full 龟龟投资策略 (Turtle Investment Framework) fundamental analysis on Chinese A-share, HK, or US stocks

How to use this skill

Skill file

Turtle Investment Framework — Skill Definition

Skill Info

Dependencies

Required Environment Variables

| Variable | Description | Required |

|----------|-------------|----------|

| TUSHARE_TOKEN | Tushare Pro API token | Yes |

Pipeline Phases

  1. Prerequisite check: Verify output/{code}_{company}/qualitative_report.md and data_pack_market.md exist (outputs of /business-analysis). If missing, tell the user to run /business-analysis {stock_code} first, then stop. data_pack_report.md is optional (Agent B degrades gracefully without PDF footnote data).
  2. Step A — market data refresh: scripts/tushare_collector.py --refresh-market refreshes §1/§2/§11/§14 (price/market cap, 52-week range, weekly prices, risk-free rate). If the data pack is >7 days old, it auto-falls back to full collection.
  3. Phase 3.1 — Agent B (quantitative): Read strategies/turtle/phase3_quantitative.md. Runs Step 0 data validation + accounting anchoring, then the 11-step penetrating return rate calculation. Output: phase3_quantitative.md.
  4. Phase 3.2 — Agent C (valuation + report): Read strategies/turtle/phase3_valuation.md. Reads qualitative_report.md (from /business-analysis) and Agent B's output, then assembles the final report.

Output

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.