liquidation-heatmap
できること
このスキルは、レバレッジのある暗号資産のポジションが、強制的に決済されそうな場所を説明します。価格が加速したり引き寄せられたりする場所を知りたいトレーダー向けです。
使う場面
- ✓多くのレバレッジのある暗号資産のポジションが清算されうる場所を見たいとき。
- ✓清算データに基づいて、支持線や抵抗線を探しているとき。
- ✓強制的な決済の連鎖が、突然の価格の動きの原因かもしれないと疑うとき。
スキルのリンク
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/liquidation-heatmap/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“今、ビットコインのチャートで、大きな清算の集中はどこにありますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、レバレッジと建値から清算価格を計算し、それらの価格がどこに集中しているかを示します。密集したクラスターは、価格が速く動きうるゾーンとして扱われます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Liquidation Heatmap & Level Analysis
Overview
Analyze the distribution of leveraged positions and their liquidation price levels to identify zones where forced selling/buying will accelerate price moves. Liquidation clusters act as "magnets" — price tends to be attracted toward large liquidation concentrations because market makers and whales profit from triggering cascading liquidations.
Core Concepts
1. Liquidation Mechanics
How liquidation works:
# Long position liquidation
long_liquidation_price = entry_price * (1 - 1/leverage + maintenance_margin)
# Short position liquidation
short_liquidation_price = entry_price * (1 + 1/leverage - maintenance_margin)
# Example: BTC long at $65,000, 10x leverage, 0.5% maintenance margin
# Liquidation: $65,000 * (1 - 1/10 + 0.005) = $58,825
# A 9.5% move against the position triggers liquidation
Leverage and liquidation distance:
| Leverage | Liquidation Distance (Long) | Liquidation Distance (Short) |
|---|---|---|
| 2x | ~50% drop | ~50% rise |
| 5x | ~20% drop | ~20% rise |
| 10x | ~10% drop | ~10% rise |
| 20x | ~5% drop | ~5% rise |
| 50x | ~2% drop | ~2% rise |
| 100x | ~1% drop | ~1% rise |
2. Liquidation Heatmap Interpretation
A liquidation heatmap shows where liquidation orders are concentrated across different price levels, typically color-coded by density.
Reading the heatmap:
Price Level Long Liquidations Short Liquidations Interpretation
$70,000 ░░░░░░░░░░ ████████████████ Heavy short liquidation zone
$68,000 ░░░░ ██████████ Moderate short liquidation
$66,000 ███████ ███████ Balanced (current price area)
$64,000 ██████████ ░░░░ Moderate long liquidation
$62,000 ████████████████ ░░░░░░░░░░ Heavy long liquidation zone
Key principles:
- Liquidation clusters are magnets: price tends to gravitate toward large liquidation pools because the forced orders provide liquidity for whales to fill their positions
- Liquidation cascades: when a cluster gets hit, the forced selling/buying pushes price further, potentially triggering the next cluster → cascade effect
- After liquidation wipe: once a large cluster is liquidated, that price level often becomes support/resistance (overleveraged positions are gone)
3. Liquidation Level Identification
def identify_liquidation_clusters(open_interest_by_price, leverage_distribution):
"""
Estimate where liquidation clusters exist based on
open interest and leverage distribution.
"""
clusters = []
for price_level in price_range:
# Long liquidations: positions opened above this level with high leverage
long_liq_volume = estimate_long_liq_at_price(
open_interest_by_price, leverage_distribution, price_level
)
# Short liquidations: positions opened below this level with high leverage
short_liq_volume = estimate_short_liq_at_price(
open_interest_by_price, leverage_distribution, price_level
)
total = long_liq_volume + short_liq_volume
if total > significance_threshold:
clusters.append({
"price": price_level,
"long_liq": long_liq_volume,
"short_liq": short_liq_volume,
"type": "long" if long_liq_volume > short_liq_volume else "short",
"magnitude": total,
})
return sorted(clusters, key=lambda x: x["magnitude"], reverse=True)
4. Liquidation-Based Trading Signals
Signal 1: Liquidation Magnet
def liquidation_magnet_signal(current_price, clusters):
"""
Price is likely to move toward the nearest large liquidation cluster.
"""
# Find nearest cluster above and below
above = [c for c in clusters if c["price"] > current_price]
below = [c for c in clusters if c["price"] < current_price]
nearest_above = min(above, key=lambda c: c["price"] - current_price) if above else None
nearest_below = min(below, key=lambda c: current_price - c["price"]) if below else None
if nearest_above and nearest_below:
above_magnitude = nearest_above["magnitude"]
below_magnitude = nearest_below["magnitude"]
if above_magnitude > below_magnitude * 2:
return "upward_
よくある質問
清算の連鎖とは何ですか?
1回の強制決済が価格を十分に動かし、さらに多くの決済を引き起こす連鎖反応のことです。
レバレッジはなぜ重要ですか?
レバレッジが高いほど、小さな価格の動きで清算されます。たとえば10倍のレバレッジは、ポジションに対して約10パーセントの動きで清算されます。
清算の水準は確実なシグナルですか?
いいえ。それは1つの手がかりにすぎないため、他の分析と組み合わせて使うべきです。
詳細
作者による元の説明
Liquidation level analysis and heatmap interpretation — identify leveraged position concentration, liquidation cascades, stop-hunt zones, and use liquidation data as support/resistance signals.
repo: HKUDS/Vibe-Trading
人気
- GitHubのスター
- 37k
- ランキング
- #7528
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
vibe-trading
37kバックテスト、ファクター分析、オプション価格、多くの市場にまたがる市場データを含む、金融リサーチの完全なツールキットをエージェントに与えます。
adr-hshare
37k中国企業が複数の市場に上場している価格差、例えば米国のADRと香港株の差を比べる方法をエージェントに示します。
akshare
37kエージェントが、APIキーなしで、中国と世界の株式、先物、外国為替、経済指標の無料の市場データを取得できるよう支援します。
alpha-zoo
37k既製のストックファクターのライブラリを閲覧し、選んだ市場で一群のファクターがリターンをどれだけ予測するかを検証できるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。