backtrader
Event-driven backtesting with bar-by-bar execution, complex order types, multiple analyzers,…
Token supply dynamics, vesting analysis, inflation modeling, and valuation frameworks for crypto tokens
$ npx -y skills add agiprolabs/claude-trading-skills --skill token-economics --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/token-economicsContext preview
The summary Claude sees to decide when to auto-load this skill.
Token supply dynamics, vesting analysis, inflation modeling, and valuation frameworks for crypto tokens
name: token-economics description: Token supply dynamics, vesting analysis, inflation modeling, and valuation frameworks for crypto tokens
Tokenomics — the study of token supply dynamics, distribution, and value accrual — is one of the most important factors in crypto asset analysis. Supply changes directly affect price: new tokens entering circulation create selling pressure, while burns and locks reduce it. Understanding these dynamics lets you estimate dilution risk, identify overvalued or undervalued tokens, and anticipate price-moving unlock events.
Price is a function of demand **and** supply. In crypto, supply is programmable and constantly changing:
total_supply = maximum tokens that will ever exist (or current total minted) circulating_supply = tokens currently available for trading locked_supply = total_supply - circulating_supply circulating_pct = circulating_supply / total_supply * 100
market_cap = price * circulating_supply fdv = price * total_supply fdv_mcap_ratio = fdv / market_cap
The **FDV/MCap ratio** measures future dilution risk:
| FDV/MCap | Dilution Risk | Interpretation | |----------|---------------|----------------| | 1.0-1.5 | Low | Most supply already circulating | | 1.5-3.0 | Moderate | Significant supply still locked | | 3.0-5.0 | High | Majority of supply not yet released | | >5.0 | Very High | Token will face massive dilution |
annual_new_tokens = emissions + vesting_unlocks + rewards annual_burned = fee_burns + buyback_burns net_new_tokens = annual_new_tokens - annual_burned net_inflation_rate = net_new_tokens / circulating_supply * 100 # percent per year
daily_emissions_usd = daily_new_tokens * token_price percent_sold = 0.50 # assume 50% of new tokens are sold (conservative) daily_sell_pressure = daily_emissions_usd * percent_sold sell_pressure_ratio = daily_sell_pressure / daily_volume # > 0.05 (5%) = significant selling pressure # > 0.10 (10%) = heavy selling pressure
unlock_amount_tokens = 10_000_000 avg_daily_volume_tokens = 5_000_000 unlock_volume_ratio = unlock_amount_tokens / avg_daily_volume_tokens # Impact assessment: # < 1x daily volume: minor impact # 1-5x daily volume: moderate impact, expect 2-5% drawdown # 5-10x daily volume: major impact, expect 5-15% drawdown # > 10x daily volume: severe impact, expect 10-30% drawdown
| Category | Typical Range | Red Flag | |----------|---------------|----------| | Team/Founders | 15-25% | >30% | | Investors (Seed+Series) | 10-30% | >40% | | Community/Ecosystem | 20-40% | <15% | | Treasury/DAO | 10-20% | <5% | | Public Sale | 5-20% | <2% | | Advisors | 2-5% | >10% |
def distribution_score(team_pct: float, investor_pct: float,
community_pct: float, cliff_months: int,
vesting_months: int) -> str:
"""Rate token distribution quality."""
score = 0
insider_pct = team_pct + investor_pct
if insider_pct < 30: score += 3
elif insider_pct < 50: score += 1
if community_pct > 30: score += 2
elif community_pct > 20: score += 1
if cliff_months >= 12: score += 2
elif cliff_months >= 6: score += 1
if vesting_months >= 36: score += 2
elif vesting_months >= 24: score += 1
if score >= 8: return "Excellent"
if score >= 6: return "Good"
if score >= 4: return "Moderate"
return "Poor"# Price-to-Earnings (for fee-generating protocols) pe_ratio = fdv / annualized_net_revenue
A comprehensive collection of 68 ready-to-use trading, DeFi, and quantitative finance Agent Skills. Works with Claude Code, Cursor, Codex, Gemini CLI, and 30+ other tools.
Repo: agiprolabs/claude-trading-skills
Event-driven backtesting with bar-by-bar execution, complex order types, multiple analyzers,…
Solana token market data via Birdeye — prices, OHLCV, trades, token metadata, security…
Broad crypto market data from CoinGecko covering 13,000+ tokens. Global market stats,…
Cointegration testing for pairs trading using Engle-Granger, Johansen, and rolling stability…
Wallet evaluation, monitoring, and copy-trade strategy design for Solana DEX trading
Cross-asset correlation analysis including rolling correlation, hierarchical clustering, tail…