xiapi-market-compass for Openclaw

A three-dimensional market analysis system for the A-Share market focusing on trend structure, valuation, and sentiment.

ksky521
v1.0.2
Apr 12, 2026
0
739
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install xiapi-market-compass

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install xiapi-market-compass using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is xiapi-market-compass?

The xiapi-market-compass is a specialized analytical tool designed to evaluate the health of the A-Share market. Instead of making simple price predictions, it provides a structural assessment based on three independent layers: Trend Structure, Valuation, and Sentiment. This comprehensive approach helps traders determine whether the current environment is suitable for holding stocks and suggests optimal position levels.

By integrating multi-dimensional indicators like market breadth and sector divergence, it functions as a navigational tool for investors. It identifies signals of structural breakdown or repair, ensuring that users can align their portfolio strategies with the underlying reality of market conditions rather than emotional fluctuations.

xiapi-market-compass Use Cases

  • Determining whether the current market environment is favorable for holding stock positions.
  • Identifying early signals of market trend breakdowns or structural repairs.
  • Managing investment risk through multi-dimensional position sizing recommendations.
  • Analyzing market breadth to detect if index growth is driven by a few stocks or a healthy broad-based rally.

How xiapi-market-compass Works

  1. Data Acquisition: The system fetches the latest market data including valuation temperatures and breadth indicators using the daxiapi-cli.
  2. Coordinate Mapping: It establishes a baseline by identifying 20-day highs/lows and calculating the recent performance of the All-A Index.
  3. Trend Structure Analysis: Evaluates long, medium, and short-term market breadth to classify the market as Healthy, Neutral, or Broken.
  4. Valuation & Sentiment Correction: Cross-references the trend with historical valuation percentiles and fear/greed indices to refine the analysis.
  5. Synthesis & Conclusion: Merges the three layers to generate a final judgment on market direction, strength, and timing.
  6. Report Generation: Produces a professional report in Chinese, adhering to strict compliance and technical accuracy standards.

xiapi-market-compass Setup

First, ensure you have the CLI tool installed and configured with your token:

npx daxiapi-cli@latest market compass
# If token is not configured
daxiapi config set token YOUR_TOKEN

xiapi-market-compass Data Schema & Taxonomy

The skill processes a CSV-like stream of data with the following key metrics:

Indicator Description
Valuation Temperature Historical PB percentile of the entire market.
Fear & Greed Index A 0-100 scale measuring market sentiment.
Trend Breadth (20/60/200) Percentage of stocks above specific Moving Averages.
Momentum Temperature Historical percentile of the CS Median.
Sector Divergence Measures how synchronized or fragmented industry movements are.

xiapi-market-compass Advanced Features

  • Multi-agent support for automated market reporting workflows.
  • Divergence detection between the All-A Index and market breadth to identify hidden risks.
  • Automated position management suggestions based on 3D structural analysis.
  • Historical inflection point identification to catch short-term rebound windows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*