coinglass by starchild-ai-agent/official-skills
npx skills add https://github.com/starchild-ai-agent/official-skills --skill coinglassCoinglass 提供最全面的加密货币衍生品和机构数据。涵盖 37 种工具,包括期货持仓、巨鲸追踪、成交量分析、清算和 ETF 资金流。
API 套餐 : 专业版(每月 699 美元) 速率限制 : 每分钟 6000 次请求 API 版本 : V4(兼容 V2) 工具总数 : 37 个,涵盖 8 个类别
使用 Coinglass 进行:
用于市场分析的核心衍生品数据:
funding_rate(symbol, exchange?) - 当前资金费率long_short_ratio(symbol, exchange?, interval?) - 基础多空比率广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
cg_open_interest(symbol) - 各交易所当前未平仓合约cg_liquidations(symbol, time?) - 近期清算cg_liquidation_analysis(symbol) - 清算热力图分析cg_supported_coins() - 所有支持的币种cg_supported_exchanges() - 所有支持交易对的交易所使用多种指标进行深度持仓分析:
cg_global_account_ratio(symbol, interval?) - 基于全球账户的多空比率cg_top_account_ratio(symbol, exchange, interval?) - 顶级交易者账户比率cg_top_position_ratio(symbol, exchange, interval?) - 按持仓规模划分的顶级持仓比率cg_taker_exchanges(symbol) - 各交易所的吃单买卖量cg_net_position(symbol, exchange) - 净多头/空头持仓cg_net_position_v2(symbol) - 增强的净持仓数据使用场景:
用于预测连锁清算的精细清算追踪:
cg_coin_liquidation_history(symbol, interval?, limit?, start_time?, end_time?) - 所有交易所汇总数据cg_pair_liquidation_history(symbol, exchange, interval?, limit?, start_time?, end_time?) - 特定交易所的特定交易对数据cg_liquidation_coin_list(exchange) - 交易所上所有币种cg_liquidation_orders(symbol, exchange, min_liquidation_amount, start_time?, end_time?) - 单个订单(过去 7 天,最多 200 条)使用场景:
追踪 Hyperliquid DEX 上的大额交易者(约 200 条近期警报):
cg_hyperliquid_whale_alerts() - 近期大额持仓开仓/平仓(> 100 万美元)cg_hyperliquid_whale_positions() - 当前巨鲸持仓及其盈亏cg_hyperliquid_positions_by_coin() - 按币种分组的所有持仓cg_hyperliquid_position_distribution() - 按规模分布的情绪分析使用场景:
市场概览和价格数据:
cg_coins_market_data() - 一次调用获取所有币种数据(100+ 个币种)cg_pair_market_data(symbol, exchange) - 特定交易对指标cg_ohlc_history(symbol, exchange, interval, limit?) - OHLC K 线图cg_taker_volume_history(symbol, exchange, interval, limit?, start_time?, end_time?) - 特定交易对的吃单成交量cg_aggregated_taker_volume(symbol, interval, limit?, start_time?, end_time?) - 跨交易所汇总数据使用场景:
订单流和资金流动追踪:
cg_cumulative_volume_delta(symbol, exchange, interval, limit?, start_time?, end_time?) - CVD =(买单 - 卖单)的累计总和cg_coin_netflow() - 流入/流出各币种的资金cg_whale_transfers() - 大额链上转账(> 1000 万美元,过去 6 个月)使用场景:
追踪机构对比特币的采用情况:
cg_btc_etf_flows() - 每日净流入/流出cg_btc_etf_premium_discount() - ETF 价格 vs 资产净值cg_btc_etf_history() - 综合历史数据(价格、资产净值、溢价%、份额、资产)cg_btc_etf_list() - 比特币 ETF 列表cg_hk_btc_etf_flows() - 香港比特币 ETF 资金流使用场景:
以太坊、Solana、XRP 和香港 ETF:
cg_eth_etf_flows() - 以太坊 ETF 资金流cg_eth_etf_list() - 以太坊 ETF 列表cg_eth_etf_premium_discount() - ETH ETF 溢价/折价cg_sol_etf_flows() - Solana ETF 资金流cg_sol_etf_list() - Solana ETF 列表cg_xrp_etf_flows() - XRP ETF 资金流cg_xrp_etf_list() - XRP ETF 列表cg_hk_eth_etf_flows() - 香港以太坊 ETF 资金流使用场景:
# 通过 3 次调用获取所有信息
all_coins = cg_coins_market_data() # 100+ 个币种的完整指标
btc_liquidations = cg_liquidations("BTC")
whale_alerts = cg_hyperliquid_whale_alerts()
# 跨指标分析 BTC 持仓
cg_global_account_ratio("BTC") # 散户情绪
cg_top_account_ratio("BTC", "Binance") # 聪明钱
cg_net_position_v2("BTC") # 净持仓
cg_liquidation_heatmap("BTC", "Binance") # 连锁清算水平
# 机构需求
btc_flows = cg_btc_etf_flows()
eth_flows = cg_eth_etf_flows()
sol_flows = cg_sol_etf_flows()
# 跟随巨鲸
hyperliquid_whales = cg_hyperliquid_whale_alerts()
whale_positions = cg_hyperliquid_whale_positions()
onchain_whales = cg_whale_transfers() # > 1000 万美元的链上转账
# 订单流
cvd = cg_cumulative_volume_delta("BTC", "Binance", "1h", 100)
netflow = cg_coin_netflow() # 所有币种
taker_vol = cg_aggregated_taker_volume("BTC", "1h", 100)
| 费率(8 小时) | 解读 |
|---|
+0.05% | 极度贪婪 — 多头拥挤,挤压风险 +0.01% 至 +0.05% | 看涨偏向,正常 -0.005% 至 +0.01% | 中性 -0.05% 至 -0.005% | 看跌偏向,正常 < -0.05% | 极度恐惧 — 空头拥挤,反弹风险
极端资金费率通常预示着反转。在极端情况下,大众通常是错误的。
| 未平仓合约 | 价格 | 解读 |
|---|---|---|
| 上涨 | 上涨 | 新多头入场 — 看涨信念强 |
| 上涨 | 下跌 | 新空头入场 — 看跌信念强 |
| 下跌 | 上涨 | 空头平仓 — 反弹较弱,信念不足 |
| 下跌 | 下跌 | 多头清算 — 抛售较弱,投降 |
| 比率 | 解读 |
|---|
1.5 | 多头拥挤 — 逆向看跌 1.1–1.5 | 适度看涨 0.9–1.1 | 平衡 0.7–0.9 | 适度看跌 < 0.7 | 空头拥挤 — 逆向看涨
| 模式 | 解读 |
|---|---|
| CVD 上升,价格上升 | 强劲买压,健康上涨趋势 |
| CVD 下降,价格上升 | 弱势反弹,派发 |
| CVD 上升,价格下降 | 吸筹,潜在底部 |
| CVD 下降,价格下降 | 强劲卖压,健康下跌趋势 |
| 资金流 | 解读 |
|---|---|
| 大额流入 | 机构买入,看涨 |
| 持续流入 | 持续需求 |
| 大额流出 | 机构卖出,看跌 |
| 相对资产净值溢价 | 高需求,看涨情绪 |
| 相对资产净值折价 | 需求疲软,看跌情绪 |
多指标确认:结合不同类别的工具以获得高置信度信号:
聪明钱 vs 散户:比较指标以识别背离:
cg_top_account_ratio(聪明钱) vs cg_global_account_ratio(散户)连锁清算预测:使用清算工具预测波动性:
cg_coin_liquidation_history 显示随时间变化的清算模式cg_liquidation_orders 揭示近期强制平仓资金流背离:追踪资金流动:
cg_coin_netflow 显示资金流向何处cg_whale_transfers 揭示大额资金流动✅ 最优:使用批量端点
# 一次调用获取 100+ 个币种
all_coins = cg_coins_market_data()
# 一次调用获取所有巨鲸警报
whales = cg_hyperliquid_whale_alerts()
# 一次调用获取所有 ETF 资金流
btc_etf = cg_btc_etf_flows()
❌ 低效:多次单个调用
# 不要这样做 - 浪费 API 配额
btc = cg_pair_market_data("BTC", "Binance")
eth = cg_pair_market_data("ETH", "Binance")
sol = cg_pair_market_data("SOL", "Binance")
大多数历史数据端点支持:
interval:时间粒度(1h、4h、12h、24h 等)limit:记录数量(默认值不同,最多 1000 条)start_time:Unix 时间戳(毫秒)end_time:Unix 时间戳(毫秒)示例:
cg_coin_liquidation_history(
symbol="BTC",
interval="1h",
limit=100,
start_time=1704067200000, # 2024-01-01
end_time=1704153600000 # 2024-01-02
)
提供期货数据的主要交易所:
使用 cg_supported_exchanges() 获取包含交易对详情的完整列表。
cg_supported_coins() 检查cg_supported_exchanges() 检查包含交易对的完整列表CG-API-KEY 请求头(大多数工具)coinglassSecret 请求头(部分遗留工具)每周安装量
3.1K
代码仓库
GitHub 星标数
1
首次出现
13 天前
安全审计
安装于
openclaw3.1K
opencode30
gemini-cli30
github-copilot30
codex30
amp30
Coinglass provides the most comprehensive crypto derivatives and institutional data available. 37 tools covering futures positioning, whale tracking, volume analysis, liquidations, and ETF flows.
API Plan : Professional ($699/month) Rate Limit : 6000 requests/minute API Version : V4 (with V2 backward compatibility) Total Tools : 37 across 8 categories
Use Coinglass for:
Core derivatives data for market analysis:
funding_rate(symbol, exchange?) - Current funding rateslong_short_ratio(symbol, exchange?, interval?) - Basic L/S ratioscg_open_interest(symbol) - Current OI across exchangescg_liquidations(symbol, time?) - Recent liquidationscg_liquidation_analysis(symbol) - Liquidation heatmap analysiscg_supported_coins() - All supported coinscg_supported_exchanges() - All exchanges with pairsDeep positioning analysis with multiple metrics:
cg_global_account_ratio(symbol, interval?) - Global account-based L/S ratiocg_top_account_ratio(symbol, exchange, interval?) - Top trader accounts ratiocg_top_position_ratio(symbol, exchange, interval?) - Top positions by sizecg_taker_exchanges(symbol) - Taker buy/sell by exchangecg_net_position(symbol, exchange) - Net long/short positionscg_net_position_v2(symbol) - Enhanced net position dataUse cases :
Granular liquidation tracking for cascade prediction:
cg_coin_liquidation_history(symbol, interval?, limit?, start_time?, end_time?) - Aggregated across all exchangescg_pair_liquidation_history(symbol, exchange, interval?, limit?, start_time?, end_time?) - Exchange-specific paircg_liquidation_coin_list(exchange) - All coins on an exchangecg_liquidation_orders(symbol, exchange, min_liquidation_amount, start_time?, end_time?) - Individual orders (past 7 days, max 200)Use cases :
Track large traders on Hyperliquid DEX (~200 recent alerts):
cg_hyperliquid_whale_alerts() - Recent large position opens/closes (>$1M)cg_hyperliquid_whale_positions() - Current whale positions with PnLcg_hyperliquid_positions_by_coin() - All positions grouped by coincg_hyperliquid_position_distribution() - Distribution by size with sentimentUse cases :
Market overview and price data:
cg_coins_market_data() - ALL coins data in one call (100+ coins)cg_pair_market_data(symbol, exchange) - Specific pair metricscg_ohlc_history(symbol, exchange, interval, limit?) - OHLC candlestickscg_taker_volume_history(symbol, exchange, interval, limit?, start_time?, end_time?) - Pair-specific taker volumecg_aggregated_taker_volume(symbol, interval, limit?, start_time?, end_time?) - Aggregated across exchangesUse cases :
Order flow and capital movement tracking:
cg_cumulative_volume_delta(symbol, exchange, interval, limit?, start_time?, end_time?) - CVD = Running total of (buy - sell)cg_coin_netflow() - Capital flowing into/out of coinscg_whale_transfers() - Large on-chain transfers (>$10M, past 6 months)Use cases :
Track institutional Bitcoin adoption:
cg_btc_etf_flows() - Daily net inflows/outflowscg_btc_etf_premium_discount() - ETF price vs NAVcg_btc_etf_history() - Comprehensive history (price, NAV, premium%, shares, assets)cg_btc_etf_list() - List of Bitcoin ETFscg_hk_btc_etf_flows() - Hong Kong Bitcoin ETF flowsUse cases :
Ethereum, Solana, XRP, and Hong Kong ETFs:
cg_eth_etf_flows() - Ethereum ETF flowscg_eth_etf_list() - Ethereum ETF listcg_eth_etf_premium_discount() - ETH ETF premium/discountcg_sol_etf_flows() - Solana ETF flowscg_sol_etf_list() - Solana ETF listcg_xrp_etf_flows() - XRP ETF flowscg_xrp_etf_list() - XRP ETF listcg_hk_eth_etf_flows() - Hong Kong Ethereum ETF flowsUse cases :
# Get everything in 3 calls
all_coins = cg_coins_market_data() # 100+ coins with full metrics
btc_liquidations = cg_liquidations("BTC")
whale_alerts = cg_hyperliquid_whale_alerts()
# BTC positioning across metrics
cg_global_account_ratio("BTC") # Retail sentiment
cg_top_account_ratio("BTC", "Binance") # Smart money
cg_net_position_v2("BTC") # Net positioning
cg_liquidation_heatmap("BTC", "Binance") # Cascade levels
# Institutional demand
btc_flows = cg_btc_etf_flows()
eth_flows = cg_eth_etf_flows()
sol_flows = cg_sol_etf_flows()
# Follow the whales
hyperliquid_whales = cg_hyperliquid_whale_alerts()
whale_positions = cg_hyperliquid_whale_positions()
onchain_whales = cg_whale_transfers() # >$10M on-chain
# Order flow
cvd = cg_cumulative_volume_delta("BTC", "Binance", "1h", 100)
netflow = cg_coin_netflow() # All coins
taker_vol = cg_aggregated_taker_volume("BTC", "1h", 100)
| Rate (8h) | Read |
|---|
+0.05% | Extreme greed — crowded long, squeeze risk
+0.01% to +0.05% | Bullish bias, normal
-0.005% to +0.01% | Neutral
-0.05% to -0.005% | Bearish bias, normal
< -0.05% | Extreme fear — crowded short, bounce risk
Extreme funding often precedes reversals. The crowd is usually wrong at extremes.
| OI | Price | Read |
|---|---|---|
| Up | Up | New longs entering — bullish conviction |
| Up | Down | New shorts entering — bearish conviction |
| Down | Up | Short covering — weaker rally, less conviction |
| Down | Down | Long liquidation — weaker selloff, capitulation |
| Ratio | Read |
|---|
1.5 | Crowded long — contrarian bearish
1.1–1.5 | Moderately bullish
0.9–1.1 | Balanced
0.7–0.9 | Moderately bearish
< 0.7 | Crowded short — contrarian bullish
| Pattern | Read |
|---|---|
| CVD rising, price rising | Strong buy pressure, healthy uptrend |
| CVD falling, price rising | Weak rally, distribution |
| CVD rising, price falling | Accumulation, potential bottom |
| CVD falling, price falling | Strong sell pressure, healthy downtrend |
| Flow | Read |
|---|---|
| Large inflows | Institutional buying, bullish |
| Consistent inflows | Sustained demand |
| Large outflows | Institutional selling, bearish |
| Premium to NAV | High demand, bullish sentiment |
| Discount to NAV | Weak demand, bearish sentiment |
Multi-metric confirmation : Combine tools across categories for high-confidence signals:
Smart money vs retail : Compare metrics to identify divergence:
cg_top_account_ratio (smart money) vs cg_global_account_ratio (retail)Cascade prediction : Use liquidation tools to predict volatility:
cg_coin_liquidation_history shows liquidation patterns over timecg_liquidation_orders reveals recent forced closuresFlow divergence : Track capital movements:
cg_coin_netflow shows where money is flowingcg_whale_transfers reveals large movements✅ OPTIMAL : Use batch endpoints
# One call gets 100+ coins
all_coins = cg_coins_market_data()
# One call gets all whale alerts
whales = cg_hyperliquid_whale_alerts()
# One call gets all ETF flows
btc_etf = cg_btc_etf_flows()
❌ INEFFICIENT : Multiple individual calls
# Don't do this - wastes API quota
btc = cg_pair_market_data("BTC", "Binance")
eth = cg_pair_market_data("ETH", "Binance")
sol = cg_pair_market_data("SOL", "Binance")
Most history endpoints support:
interval: Time granularity (1h, 4h, 12h, 24h, etc.)limit: Number of records (default varies, max 1000)start_time: Unix timestamp (milliseconds)end_time: Unix timestamp (milliseconds)Example:
cg_coin_liquidation_history(
symbol="BTC",
interval="1h",
limit=100,
start_time=1704067200000, # 2024-01-01
end_time=1704153600000 # 2024-01-02
)
Major exchanges with futures data:
Use cg_supported_exchanges() for complete list with pair details.
cg_supported_coins()cg_supported_exchanges() for full list with pairsCG-API-KEY header (most tools)coinglassSecret header (some legacy tools)Weekly Installs
3.1K
Repository
GitHub Stars
1
First Seen
13 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
openclaw3.1K
opencode30
gemini-cli30
github-copilot30
codex30
amp30
Excel财务建模规范与xlsx文件处理指南:专业格式、零错误公式与数据分析
37,200 周安装