liquidation-heatmap
Skill này làm gì
Skill này giải thích nơi các vị thế crypto có đòn bẩy có khả năng bị buộc đóng. Skill dành cho trader muốn thấy giá có thể tăng tốc hoặc bị kéo về đâu.
Khi nào nên dùng
- ✓Khi bạn muốn xem nơi nhiều vị thế crypto có đòn bẩy có thể bị thanh lý.
- ✓Khi bạn tìm mức hỗ trợ hoặc kháng cự dựa trên dữ liệu thanh lý.
- ✓Khi bạn nghi ngờ một đợt biến động giá đột ngột do chuỗi lệnh đóng cưỡng bức gây ra.
Liên kết skill
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/liquidation-heatmap/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hiện tại các cụm thanh lý lớn trên biểu đồ Bitcoin nằm ở đâu?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill tính giá thanh lý từ đòn bẩy và giá vào lệnh, rồi cho thấy các mức giá đó tập trung ở đâu. Các cụm dày được xem là vùng mà giá có thể dịch chuyển nhanh.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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_
Câu hỏi thường gặp
Thác thanh lý là gì?
Là một chuỗi phản ứng, trong đó một lệnh đóng cưỡng bức đẩy giá đủ xa để kích hoạt thêm các lệnh đóng khác.
Tại sao đòn bẩy quan trọng ở đây?
Đòn bẩy cao hơn nghĩa là một biến động giá nhỏ hơn có thể kích hoạt thanh lý. Ví dụ, đòn bẩy 10 lần bị kích hoạt khi giá đi ngược vị thế khoảng 10 phần trăm.
Mức thanh lý có phải là tín hiệu chắc chắn không?
Không. Đó chỉ là một manh mối, nên cần dùng cùng với các phân tích khác.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 37k
- Vị trí xếp hạng
- #7528
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
vibe-trading
37kCho agent của bạn bộ công cụ nghiên cứu tài chính đầy đủ: backtest, phân tích nhân tố, định giá quyền chọn và dữ liệu thị trường nhiều nước.
adr-hshare
37kChỉ cho agent của bạn cách so sánh giá của một công ty Trung Quốc được niêm yết ở nhiều thị trường, như ADR ở Mỹ và cổ phiếu ở Hồng Kông.
akshare
37kCho agent của bạn lấy dữ liệu thị trường miễn phí: cổ phiếu Trung Quốc và toàn cầu, tương lai, ngoại hối, chỉ số kinh tế, không cần API key.
alpha-zoo
37kCho agent của bạn duyệt thư viện nhân tố cổ phiếu dựng sẵn và kiểm tra cả một nhóm nhân tố dự đoán lợi nhuận tốt đến đâu trên thị trường đã chọn.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.