stock-kline Skill

Community

Fetch adjusted A-share K-line data reliably.

Authoreninem123
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you obtain A-share stock and index historical K-line data and calculate daily/interval price changes accurately, while automatically switching data sources and handling dividend/ex-right adjustments.

Core Features & Use Cases

  • Adjusted K-line retrieval (qfq/hfq/none): Fetch historical OHLCV K-line series for stocks and indices, with support for前复权(qfq, default), 后复权(hfq), and不复权.
  • Daily change computation: Get today’s open/close and compute change and change percentage for a given ticker.
  • Accurate interval change: Compute percentage change between two trading dates using adjusted prices to avoid ex-dividend/ex-right gaps.

Example use case: You want to backtest an intraday signal that depends on the last 60 trading days’ momentum; you retrieve前复权 K-line for a stock and then compute the exact涨跌幅 between two dates.

Quick Start

Ask for historical前复权 K-line for 600519.SH for the last 100 days and the latest today change in one run.

Dependency Matrix

Required Modules

aksharepandas

Components

Standard package

💻 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: stock-kline Skill
Download link: https://github.com/eninem123/hunterclaw/archive/main.zip#stock-kline-skill

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.