huachuang-morphology-api

Access HuaChuang morphology HTTP API for morphology data, timing signals, and ETF information.

64|7|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/hgsz2003/huachuang-morphology-skills --skill huachuang-morphology-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huachuang-morphology-api
Source: https://github.com/hgsz2003/huachuang-morphology-skills/tree/main
Command: npx skills add https://github.com/hgsz2003/huachuang-morphology-skills --skill huachuang-morphology-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, requests, urllib3, numpy, empyrical, and includes scripts (resource) components.

What problem does it solve?

调用华创金工形态学后端 HTTP API,为智能体提供形态学数据、择时信号、ETF 数据和中间数据的获取能力,方便对接和自动化查询。

Core Features & Use Cases

  • 基础数据:获取形态文字介绍、支持资产、最新日统计等信息。
  • 择时截面:提供宽基、行业、风格、概念指数的最新形态信号与历史数据。
  • ETF 信号与中间数据:获取截面信号、历史信号、门户数据、得分和中间数据,便于策略回测与对比。
  • 其他:实时历史纯信号、指数中间数据等。

Quick Start

在 Skill 根目录执行 python scripts/morphology_cli.py --list 来查看可用方法并验证 Token 配置。

Frequently Asked Questions about huachuang-morphology-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I access HuaChuang morphology timing signals and ETF data via API?

The HuaChuang morphology API covers base asset data, cross-section timing signals for broad-based and industry indices, historical timing data, ETF signals, and related mid-data for strategy backtesting.

How do I start querying HuaChuang morphology data from the command line?

To start querying HuaChuang morphology data, run `python scripts/morphology_cli.py --list` in the root directory to view available methods and validate your local token configuration from scripts/config.json.

Do I need a specific token or configuration to use the HuaChuang morphology API?

Yes, you need a local token configured in scripts/config.json to authenticate with the HuaChuang morphology HTTP API endpoints at mark.hcquant.com and xingtai.pro before executing CLI requests.

What Python dependencies are required to run the morphology API client?

The morphology API client requires pandas, requests, urllib3, numpy, and empyrical to process HTTP requests, handle data arrays, and compute financial metrics from the returned structured data.

Can I retrieve historical timing signals for broad-based and industry indices?

Yes, the API provides historical timing data and cross-section timing signals for broad-based, industry, style, and concept indices, along with ETF historical signals and mid-data for strategy comparison.

What should I do if my morphology API request returns an error?

If your morphology API request returns an error, verify your token in scripts/config.json is valid, ensure dependencies like requests and urllib3 are installed, and use `--list` to confirm endpoint availability.