Tooluck logoTooluck
SKILL.md

etf-premium

Agent skill fromhimself65/finance-skills

Calculate an ETF's premium or discount to NAV from Yahoo Finance data (yfinance), compare or screen ETFs by premium, explain why a gap exists, and decompose a sudden ETF move into NAV-driven vs structural components (dealer gamma exposure, blocked AP arbitrage, sentiment). Use this skill whenever the user asks whether an ETF trades above or below NAV, compares ETF premiums or discounts, screens for the biggest ones, asks about ETF arbitrage or premium convergence, or wants to know why an ETF jumped or diverged from its holdings — including gamma squeezes, dealer gamma exposure (GEX), and blocked creation/redemption. Especially relevant for leveraged, inverse, international, bond, commodity, and crypto ETFs (IBIT, BITO, HYG, KWEB).

How to install etf-premium

install etf-premium
# install the finance-skills pack with the skills CLI
npx skills add himself65/finance-skills

# or add only this skill to Claude Code: copy the folder

plugins/market-analysis/skills/etf-premium/

# into

~/.claude/skills/etf-premium/ (all projects)

.claude/skills/etf-premium/ (one project)

plugins/market-analysis/skills/etf-premium/SKILL.md

MITFull file
1# ETF Premium/Discount Analysis Skill
2
3If your host has not already executed the shell probes below (for example, in Codex), run the commands inside the `!` wrappers with its shell tool before choosing a setup path. Use the actual output; if shell access is unavailable, report that limitation.
4
5Calculates the premium or discount of an ETF's market price relative to its Net Asset Value (NAV) using data from Yahoo Finance via [yfinance](https://github.com/ranaroussi/yfinance).
6
7**Why this matters:** An ETF's market price can diverge from the value of its underlying holdings (NAV). When you buy at a premium, you're overpaying relative to the assets; at a discount, you're getting a bargain. This divergence is typically small for liquid US equity ETFs but can be significant for bond ETFs, international ETFs, leveraged/inverse products, and crypto ETFs — especially during periods of market stress.
8
9**Important**: For research and educational purposes only. Not financial advice. yfinance is not affiliated with Yahoo, Inc.
10
11---
12
13## Step 1: Ensure Dependencies Are Available
14
15**Current environment status:**
16
17```
18!`python3 -c "exec('try:\n import yfinance, pandas, numpy\n print(f\'yfinance={yfinance.__version__} pandas={pandas.__version__} numpy={numpy.__version__}\')\nexcept Exception:\n print(\'DEPS_MISSING\')')"`
19```
20
21If `DEPS_MISSING`, install required packages:
22
23```python
24import subprocess, sys
25…

Excerpt shown under the repository's MIT license.

More skills in finance-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates