czsc-ccxt-analysis

czsc-ccxt-analysis is a skill for Claude Code, Codex from Lzh-xbccz/hermes-finance. It costs 59 tokens per session (1,722 once invoked), scanned A, original, MIT.

A Chinese technical-analysis skill for studying market price charts with the Chan theory method, using CCXT data and lightweight-charts visualisations.

In plain words
What is it for?
Use it to analyse cryptocurrency or other exchange data with Chan-theory concepts such as pivots, strokes, central trading areas, and buy signals.
Why use it?
It brings data collection, multi-timeframe analysis, signal calculation, charts, and Markdown reporting into one workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyse cryptocurrency or other exchange data with Chan-theory concepts such as pivots, strokes, central trading areas, and buy signals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lzh-xbccz/hermes-finance/czsc-ccxt-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Lzh-xbccz/hermes-finance --skill czsc-ccxt-analysis
Clone the repo
git clone --depth 1 https://github.com/Lzh-xbccz/hermes-finance

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for czsc-ccxt-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/lzh-xbccz/hermes-finance/czsc-ccxt-analysis/github.svg)](https://agentmods.dev/skills/lzh-xbccz/hermes-finance/czsc-ccxt-analysis)
Your own site
<a href="https://agentmods.dev/skills/lzh-xbccz/hermes-finance/czsc-ccxt-analysis"><img src="https://agentmods.dev/badge/skills/lzh-xbccz/hermes-finance/czsc-ccxt-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for czsc-ccxt-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/lzh-xbccz/hermes-finance/czsc-ccxt-analysis"><img src="https://agentmods.dev/badge/skills/lzh-xbccz/hermes-finance/czsc-ccxt-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,722 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01722
Opus 5 $0.00030 $0.00861
Sonnet 5 $0.00012 $0.00344
Haiku 4.5 $0.00006 $0.00172

Measured 12d ago against content hash ba0c0c917055, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

czsc-ccxt-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/czsc_analyze.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/czsc-ccxt-analysis/SKILL.md · 173 lines

How it starts

The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.

缠论技术分析 (czsc v4.0 — v1.0.0rc8 全API + lightweight-charts)

基于 waditu/czsc v1.0.0rc8(2026-06-16 从源码构建)
官方全链路:ccxt_connector → CZSC → call_signal → lightweight-charts → Markdown 报告


环境

已安装: czsc 1.0.0rc8 (源码构建), ccxt 4.5.59

从源码升级

bash install.sh  # 一键: Rust + czsc编译 + Python依赖

详见 references/czsc-build.md


API 速查

1. 数据获取

from czsc.connectors.ccxt_connector import get_raw_bars
from czsc import format_standard_kline, Freq

df = get_raw_bars('BTCUSDT', '4h', sdt='20260601', edt='20260616')
bars = format_standard_kline(df, Freq.F240)  # ⚠️ 必须传 Freq!

2. 缠论核心对象

c = CZSC(bars, max_bi_num=50)
c.bi_list       # List[BI]: .fx_a, .fx_b, .direction, .power, .high, .low
c.fx_list       # List[FX]: .dt, .fx, .has_zs, .low, .high
c.ubi_fxs       # 中枢信息在这里: [f for f in c.ubi_fxs if f.has_zs]
c.ubi           # ⚠️ List[str],不是BI对象!

3. 信号系统(222个信号,v1.0.0rc8)

from czsc._native.signals import call_signal

# v1.0.0rc8 新 API:信号名字符串调用
res = call_signal('cxt_first_buy_V221126', c)   # 一买
res = call_signal('cxt_decision_V240614', c)     # 综合决策(⭐最重要)
res = call_signal('cxt_bi_end_V230104', c)       # 笔结束

# 结果: [Signal('240分钟_D1B_BUY1_其他_任意_任意_0')]

4. 可视化(lightweight-charts)

from czsc.utils.plotting.lightweight import plot_czsc

# 暗色主题
plot_czsc(c, path='chart.html', theme='dark', title='BTC 4H')
plot_czsc(c, path='chart.html', theme='dark', tail_bars=200)  # 仅最近200根

GitHub HEAD 新功能(v1.0.0rc8 已安装)

功能 状态
lightweight-charts plot_czsc(c, output="html")
CLI (czsc analyze/backtest/plot/signals/bench)
models 模块
resample_bars ⚠️ Freq.D/W/M 可用,F240 报错(市场时区)

⚡ 实战决策信号优先级

cxt_decision_V240614 是最高价值信号 — 直接给出交易方向:

  • "开多_任意_任意_0" → 🟢 做多
  • "开空_任意_任意_0" → 🔴 做空

多级别共振决断(2026-06-16 BTC 15min 验证):

综合决策=开多 + 二买 + 5min反转↑ → 🟢 强做多
综合决策=开多 + 一买 + 笔结束      → 🟢 做多
二买 + 笔结束 + 无综合决策         → 🟡 观望偏多
中枢破位 + 一卖                    → 🔴 不做多

Read the full file on GitHub · 173 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 173 lines · 59 tokens per session scan A ba0c0c917055

Subscribe to this mod's changes

czsc-ccxt-analysis is a skill published in the GitHub repository Lzh-xbccz/hermes-finance (24 stars, last pushed 2mo ago), licensed MIT. It adds 59 tokens to every session and 1,722 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

tickdb-market-data

A real-time market-data API for foreign exchange, metals, indexes, stocks, and cryptocurrencies. An API is a service that software can call to request data.

TickDB/tickdb-unified-realtime-marketdata-api · 100 tokens

ask-a-legend

Get one legendary trader's read on a symbol — Wyckoff, Gann, Elliott Wave, Dow Theory, Livermore, DeMark, Wilder (RSI/ADX), Ichimoku (Hosoda), Weinstein stage analysis, or O'Neil CAN SLIM. Pass the legend and symbol, e.g. "gann on eurusd" or "what would Wyckoff say about AAPL?". Analysis and a second opinion, not a…

FXDavid-OffbeatForex/tlc-hermes-skills · 99 tokens

convene

Convene the Trading Legends Council — ten legendary traders (Dow, Wyckoff, Livermore, Elliott, Gann, DeMark, Wilder, Ichimoku, Weinstein, O'Neil) each vote blind on a symbol, then a deterministic Chairman aggregates their ballots into one verdict (LONG/SHORT/NOTRADE). Analysis and a second opinion, not signals.

FXDavid-OffbeatForex/tlc-hermes-skills · 79 tokens

forge-legend

Author a new trading legend/persona from a famous trader's name or a plain-English strategy description, then lint and live-audition it before it joins your roster. E.g. "make a trader who buys liquidity sweeps" or "add an ICT legend".

FXDavid-OffbeatForex/tlc-hermes-skills · 58 tokens

trade-memory

Compliance-grade decision audit trail for AI trading agents. Records every trading decision with full context (conditions, filters, indicators, risk state), SHA-256 tamper detection, and structured export for MiFID II / EU AI Act readiness. Works alongside Binance Spot, Futures, and Web3 skills — they execute trades…

mnemox-ai/tradememory-protocol · 68 tokens

risk-management

Risk management domain knowledge for trading agents — affective state monitoring, position sizing, drawdown management, tilt detection, and behavioral guardrails. Use when checking risk before trades, managing drawdowns, detecting behavioral drift, or enforcing discipline. Triggers on "risk", "drawdown", "tilt"…

mnemox-ai/tradememory-protocol · 89 tokens