CZSC Chan Theory

CZSC Chan Theory: CZSC Chan Theory: specialized toolkit for 3+ finance workflows covered in the triggers section.

✓ 0 reported success·v0.1.0·

Overview

CZSC Chan Theory skill for finance analytics + 回测. Covers 3+ use cases. (batch-v1 draft, needs English review) This skill is built on open-source project zvtvz/zvt and embeds 25 anti-pattern constraints. Visit doramagic.ai/r/czsc-chan-theory for bilingual documentation and use cases. Compatible with the Doramagic ecosystem (Claude Code, Cursor, openclaw, ChatGPT, Gemini, etc.).

Blueprint Source

finance-bp-091

zvtvz/zvt6360a632 source files

Constraints

71total
46fatal
46 must-not-violate

Evidence Quality

Confidence88%

Medium confidence — review before critical use

46 non-negotiable constraints

FATALdomain_rulefinance-C-001

WHENWhen implementing BarGenerator.update() with a RawBar input

ACTIONvalidate that bar.freq.value equals base_freq before processing

CONSEQUENCEFrequency mismatch causes incorrect bar aggregation across all time frequencies, corrupting OHLCV synthesis for daily, weekly, and monthly bars

FATALdomain_rulefinance-C-002

WHENWhen implementing BarGenerator initialization with base_freq parameter

ACTIONvalidate that base_freq exists in sorted_freqs list before accepting

CONSEQUENCEInvalid base_freq causes KeyError when accessing freq_map dictionary, crashing the entire bar generation pipeline

FATALarchitecture_guardrailfinance-C-004

WHENWhen implementing DataClient._get_cache() to read cached API responses

ACTIONacquire thread lock before reading pickle cache file to prevent race conditions

CONSEQUENCEConcurrent read/write access to pickle cache files causes corrupted DataFrames and silent data loss during multi-process backtests

FAQ

Discussion (0)

No comments yet. Be the first to share!

Changelog

v0.1.02026-04-23·Contributors: tangweigang-jpg

v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on zvtvz/zvt.