rat-pattern-detector

Community

Detect rat-pattern stock moves from holdings data

Authorchinawrj
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill detects a specific three-phase stock-ownership pattern ("increase → decrease → increase") by analyzing quarterly holding changes and associated K-line data to identify potential rat-pattern signals and provide diagnostic triples.

Core Features & Use Cases

  • A/B/C/D diagnostics per stock based on quarterly sequences
  • Score with bcd_score to rank candidates
  • Generates diagnostic JSON for threshold tuning and reproducibility
  • Works on candidates_hkscc.parquet and kline_daily data with pre-adjusted prices

Quick Start

Run the rat-pattern detector over your candidate list to produce candidates_rat_pattern.parquet and _diag_rat_pattern.json.

Dependency Matrix

Required Modules

pandasduckdbakshare

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rat-pattern-detector
Download link: https://github.com/chinawrj/agent-skills-stock/archive/main.zip#rat-pattern-detector

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.