A Stock Kline Analyzer logo

A Stock Kline Analyzer

Community
lxyeternal
a-stock-kline-analyzer

A股K线分析工具v1.0.6 - 实时行情、技术指标(MA/MACD/RSI/布林带)、K线形态识别、量能分析(量比/换手率/量价关系)、超详细结构化分析报告、技术评分系统、明日走势预测、完整名词解释

Overview

Publisherlxyeternal
RepositoryMalSkillBench
Skill namea-stock-kline-analyzer
Stars
64
Forks
14
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by lxyeternal on GitHub. Read the source before you install it.

Installation

Install the A Stock Kline Analyzer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/lxyeternal/MalSkillBench/tree/main/Dataset/Skills/benign/a-stock-kline-analyzer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lxyeternal/MalSkillBench.git /tmp/MalSkillBench
mkdir -p .claude/skills
cp -r /tmp/MalSkillBench/Dataset/Skills/benign/a-stock-kline-analyzer .claude/skills/a-stock-kline-analyzer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable A Stock Kline Analyzer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads A Stock Kline Analyzer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so A Stock Kline Analyzer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

A-Stock Kline Analyzer v1.0.6

A股K线分析工具 - 提供实时行情、技术指标计算、K线形态识别、超详细结构化技术分析报告、技术评分系统、明日走势预测、完整技术指标名词解释。

功能

  • 实时行情:新浪财经API获取实时价格
  • K线数据:Baostock获取历史K线数据
  • 技术指标:MA、MACD、RSI、布林带
  • 形态识别:锤子线、十字星、吞没形态
  • 量能分析:量比、换手率、量价关系
  • 分析报告:自动生成技术分析报告
  • 可视化:生成K线图(可选)

数据源

数据类型来源稳定性
实时价格新浪财经✅ 稳定
K线历史Baostock✅ 稳定

使用方法

bash
# 基础分析
python3 scripts/kline_analyzer.py --code 600409 --days 30 --realtime --report

# 生成图表
python3 scripts/kline_analyzer.py --code 600409 --days 60 --plot --output chart.png

# JSON输出
python3 scripts/kline_analyzer.py --code 600409 --json

参数说明

参数说明示例
--code股票代码600409
--days获取天数30
--period周期daily/weekly/monthly
--realtime获取实时价格-
--report生成分析报告-
--plot生成图表-
--output图表保存路径chart.png
--jsonJSON格式输出-

依赖

  • Python 3.8+
  • pandas
  • matplotlib
  • baostock

安装

bash
pip3 install baostock pandas matplotlib --break-system-packages

示例输出

📊 600409 三友化工 技术分析报告
==================================================
【实时行情】
最新价: 8.42 元
涨跌幅: -3.11%

【技术指标】
MA5: 8.62 (股价在下方📉)
RSI(14): 67.60 (中性➖)
MACD: 0.413 (金叉📈)

【综合建议】
• MACD金叉,短期动能偏多

免责声明

本工具仅供学习研究使用,不构成投资建议。股市有风险,投资需谨慎。

版本历史

v1.0.3 (2026-03-09)

  • ✅ 结构化报告格式:采用表格化、模块化展示
  • ✅ 六大分析模块:趋势指标/强弱指标/布林带/K线形态/信号汇总/综合判断
  • ✅ 明日走势预测:基于技术评分给出概率判断
  • ✅ 操作建议:明确给出买入/持有/减仓/观望建议
  • ✅ 保留v1.0.2所有功能

v1.0.4 (2026-03-09)

  • ✅ 超详细报告:八大模块完整分析(行情/趋势/强弱/布林带/形态/成交量/信号/综合)
  • ✅ 完整计算公式:每个指标都有定义和计算公式
  • ✅ 详细判断逻辑:均线排列/MACD金叉死叉/RSI区域/布林带位置完整说明
  • ✅ 操作建议细化:每个指标都有具体的操作建议
  • ✅ 风险提示:包含止损建议和风险控制
  • ✅ 表格化展示:所有数据用表格呈现,一目了然

v1.0.6 (2026-03-12)

  • ✅ 新增量能分析模块:量比、换手率、量价关系完整分析
  • ✅ 量比计算与解读:近5日/20日均量比值,分级判断标准
  • ✅ 换手率分析:活跃度分级,主力资金进出判断
  • ✅ 量价关系六大法则:价涨量增/价涨量缩/价跌量增/价跌量缩/天量天价/地量地价
  • ✅ 量能异动监控:放量/缩量信号自动识别
  • ✅ 量能选股策略:基于量比和换手率的短线选股逻辑

v1.0.3 (2026-03-09)

  • ✅ 结构化报告:六大模块清晰分类
  • ✅ 表格化数据:MA/MACD/RSI/布林带/K线形态/信号汇总全部表格展示
  • ✅ 明日预测概率:量化预测结果

v1.0.2 (2026-03-09)

  • ✅ 增强分析报告:每个指标添加详细含义说明
  • ✅ 添加判断依据:每个信号都有明确解释
  • ✅ 技术评分系统:-5到+5分量化多空力量
  • ✅ 完整名词解释:MA/RSI/MACD/布林带/K线形态详解
  • ✅ 创业板支持:300/301开头股票正常获取
  • ✅ 科创板支持:688开头股票正常获取
  • ✅ 综合建议优化:多空信号权重计算

v1.0.1 (2026-03-09)

  • ✅ 修复创业板数据获取(300/301开头)
  • ✅ 修复科创板数据获取(688开头)
  • ✅ 优化股票代码识别逻辑

v1.0.0 (2026-03-09)

  • ✅ 实时行情获取(新浪财经API)
  • ✅ K线数据获取(Baostock)
  • ✅ 技术指标计算(MA/MACD/RSI/布林带)
  • ✅ K线形态识别(锤子线/十字星/吞没)
  • ✅ 技术分析报告生成
  • ✅ K线图可视化

许可证

MIT License

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the A Stock Kline Analyzer AI skill do?

A股K线分析工具v1.0.6 - 实时行情、技术指标(MA/MACD/RSI/布林带)、K线形态识别、量能分析(量比/换手率/量价关系)、超详细结构化分析报告、技术评分系统、明日走势预测、完整名词解释

Why use A Stock Kline Analyzer on TypingMind?

Because you install it once and use it with any model. A Stock Kline Analyzer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install A Stock Kline Analyzer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/lxyeternal/MalSkillBench/tree/main/Dataset/Skills/benign/a-stock-kline-analyzer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use A Stock Kline Analyzer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with A Stock Kline Analyzer?

As many as you like. As long as a model supports skills, you can use A Stock Kline Analyzer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the A Stock Kline Analyzer AI skill free?

It is published on GitHub by lxyeternal. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇