Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
37-tool crypto derivatives data suite: funding rates, open interest, liquidations, Hyperliquid whale tracking, and ETF flows.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
tools/__init__.py
1"""2Coinglass Tools Module34Provides access to Coinglass cryptocurrency derivatives data including5funding rates and long/short account ratios across major exchanges.67Usage:8from tools.coinglass import get_funding_rates, get_long_short_ratio910# Get BTC funding rates11rates = get_funding_rates("BTC")1213# Get BTC long/short ratio14ratio = get_long_short_ratio("BTC", "h1")1516Environment Variables Required:17- COINGLASS_API_KEY: Your Coinglass API key18"""1920from .funding_rate import (21get_funding_rates,22get_symbol_funding_rate,23get_funding_rate_by_exchange,24analyze_funding_opportunity25)2627from .long_short_ratio import (28get_long_short_ratio,29get_exchange_ratio,30get_sentiment,31compare_exchanges32)3334__all__ = [35# Funding Rate functions36"get_funding_rates",37"get_symbol_funding_rate",38"get_funding_rate_by_exchange",39"analyze_funding_opportunity",40# Long/Short Ratio functions41"get_long_short_ratio",42"get_exchange_ratio",43"get_sentiment",44"compare_exchanges"45]46