ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 3/5

ths-level2

同花顺Level2数据获取与深度分析工具。支持读取同花顺远航版本地数据、 分析股票行情、获取实时Level2数据、生成技术分析报告。 用于:(1) 获取持仓股票实时数据 (2) Level2资金流向分析 (3) 个股深度分析 (4) 生成投资策略报告

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/claremouse007/ths-level2
Or

What This Skill Does

The ths-level2 skill is a powerful financial analysis bridge that integrates OpenClaw with the Tonghuashun (THS) desktop trading client. By tapping into local data files and leveraging real-time Level2 data streams, this agent enables users to perform sophisticated stock market analysis without manually checking trading software. It excels at parsing local position data, visualizing chip distribution, and calculating complex technical indicators like MACD, KDJ, and the "Magic Nine-Turn" (神奇九转) indicator.

Installation

To get started, you can either clone the repository directly into your OpenClaw skills directory or manually create the ths_level2 folder and populate it with the core files provided in the package. Ensure you have the config.json correctly configured with the file path to your Tonghuashun installation. For advanced data features, retrieve an API token from Tushare and add it to your environment variables or the configuration file to enable professional-grade market insights.

Use Cases

  1. Personal Portfolio Monitoring: Automatically analyze current holdings to determine if positions are overextended or in a prime accumulation zone based on technical signals.
  2. Intraday Trading Decisions: Use the Level2 integration to observe real-time order flow, detecting institutional activity and identifying pressure or support levels using the depth of market (DOM) data.
  3. Trend Identification: Leverage the built-in "Magic Five" and "Magic Nine" indicators to systematically filter stocks that are showing high-probability reversal signals.
  4. Risk Management: Utilize the chip analysis module to estimate the cost basis of other market participants, helping to set realistic stop-loss and take-profit targets based on density zones.

Example Prompts

  1. "Analyze my current holdings and let me know if any stock shows a 'Magic Nine-Turn' buy signal for today."
  2. "Get the latest Level2 order flow analysis for 600276.SH and tell me if there is significant institutional buying pressure."
  3. "Run a full technical analysis report on my portfolio, specifically focusing on the筹码 (chip) distribution and identify my main resistance levels."

Tips & Limitations

  • Requirement: This skill depends heavily on the local installation of Tonghuashun. Ensure the software is running or that the local data files are accessible for the Python scripts to parse them correctly.
  • Performance: While the local technical analysis is fast, real-time Level2 data fetches are dependent on the stability of your network connection to the data source.
  • Data Disclaimer: Always cross-verify automated trading suggestions with your primary trading terminal. This skill is a decision-support tool, not an automated trading engine.

Metadata

Stars3562
Views1
Updated2026-03-29
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-claremouse007-ths-level2": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#stock-analysis#finance#level2#trading#technical-analysis
Safety Score: 3/5

Flags: network-access, file-read, external-api