detect-shanghai-silver-stock-drain
以公開交易所庫存資料為核心,量化上海白銀庫存耗盡的方向、速度與加速度,並將其轉成可交易的供給緊縮訊號。
npx skills add majiayu000/claude-skill-registry --skill detect-shanghai-silver-stock-drain --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
<essential_principles> <principle name="drain_metrics_core"> **庫存耗盡三維度量化** 庫存分析的三維框架: - **方向(Direction)**:庫存是上升還是下降 - **速度(Speed)**:每週流出量 `drain_rate(t) = -Δ1(t)` - **加速度(Acceleration)**:流出速度的變化 `Δ2(t) = drain_rate(t) - drain_rate(t-1)` 當 `drain_rate > 0` 且 `Δ2 > 0` 時,表示「庫存正在流出,且流出速度在加快」——這是晚期供給訊號的核心特徵。 </principle> <principle name="z_score_standardization"> **Z 分數標準化判斷** 使用歷史視窗(建議 3~5 年)計算 Z 分數: - `z_drain(t) = (drain_rate(t) - mean) / std` - `z_accel(t) = (Δ2(t) - mean) / std` 門檻判定: | 指標 | 門檻 | 意義 | |------------------|--------|----------------------| | z_drain | ≤ -1.5 | 流出速度顯著大於常態 | | z_accel | ≥ +1.0 | 流出正在加速 | | level_percentile | ≤ 0.20 | 庫存處於歷史低檔 | </principle> <principle name="three_stage_signal"> **三段式晚期訊號判定** 把推文敘事轉為可執行規則: | 條件 | 描述 | 單獨成立 | 組合效果 | |-----------------|-------------------------|----------|--------------| | A. Level | 庫存水位 < 20% 歷史分位 | WATCH | - | | B. Speed | z_drain ≤ -1.5 | WATCH | B+C → MEDIUM | | C. Acceleration | z_accel ≥ +1.0 | WATCH | A+B+C → HIGH | **訊號分級**: - `HIGH_LATE_STAGE_SUPPLY_SIGNAL`:A+B+C 同時成立 - `MEDIUM_SUPPLY_TIGHTENING`:(B+C) 或 (A+B) 成立 - `WATCH`:任一條件成立 - `NO_SIGNAL`:無異常 </principle> <principle name="data_sources"> **資料來源與口徑** 主要數據來源: -
cd skills/detect-shanghai-silver-stock-drain pip install pandas numpy selenium webdriver-manager matplotlib python scripts/fetch_shfe_stock.py --force-update python scripts/drain_detector.py --quick python scripts/drain_detector.py \ python scripts/visualize_drain.py \
What does the detect-shanghai-silver-stock-drain skill do?
以公開交易所庫存資料為核心,量化上海白銀庫存耗盡的方向、速度與加速度,並將其轉成可交易的供給緊縮訊號。
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill detect-shanghai-silver-stock-drain --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
