# waditu/czsc

缠中说禅技术分析工具；缠论；股票；期货；Quant；量化交易

Repository: https://github.com/waditu/czsc
Canonical: https://ross.abutalabs.com/products/czsc
Language: Rust
License: NOASSERTION
License Family: other
Topics: tushare, czsc, quant
Last push: 2026-08-16T00:45:49+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 96, longevity 100
- inputs: {"age_days": 2640, "days_push": 18, "days_rel": 24, "gap_med": 24, "n_releases_24m": 20}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5922, forks 1690 (observed 2026-08-28T04:09:32.357970+00:00)

## What it is
czsc is a technical analysis library implementing Chan Theory (缠中说禅/缠论) concepts like fractals, strokes, and pivots for stock and futures markets. Version 1.0 implements the core algorithms in Rust exposed to Python via PyO3, with 220+ signal functions and trading APIs for quantitative research.

## Use cases
- implement chan theory technical analysis for stocks
- compute fractals strokes and pivots from candlestick data
- build quantitative trading signals for futures
- backtest and research time-series price timing strategies
- generate czsc signals for a quant pipeline

## When to choose
- you follow Chan Theory (缠论) methodology and want a maintained implementation
- you need fast Rust-backed core algorithms with a Python API
- you are doing quant research on Chinese stock or futures data

## When to avoid
- you need general-purpose technical indicators without Chan Theory concepts
- you require a permissively licensed library (license is non-standard)
- you want a pure Python codebase for easy modification

## Facets
- artifact type: library
- maturity: active
- function: trading, data-science, math
- domain: fintech, data-science
- platform: python, rust, cross-platform
- tags: quant, technical-analysis, chan-theory, czsc, stock, futures, pyo3, signal-processing, algorithms

## Member repositories
- waditu/czsc (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:32.357970+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:50:50.271886+00:00, confidence not recorded.
  - readme: https://github.com/waditu/czsc (fetched 2026-08-28T04:09:32.357970+00:00, sha c9bd891d746b)
  - registry_crates: https://crates.io/api/v1/crates/czsc (fetched 2026-08-29T08:46:29.774447+00:00, sha 3cc33f43868f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
