ETF Premium/Discount Analysis
Your AI calculates if an ETF trades above or below NAV, compares premiums and discounts across ETFs, screens for extremes, and explains sudden ETF moves using Yahoo Finance data. Includes gamma exposure and arbitrage breakdowns.
Try asking: “Compare the premium/discount for HYG, JNK, and LQD today”
himself65 on GitHub
Curated by PromptsEdge from a public repo · MIT license. All credit goes to the author.
What is this skill?
ETF investors often struggle to understand whether a fund is trading at a premium or discount to its net asset value (NAV), why these gaps exist, and what drives sudden price surges or divergences from underlying holdings. With this skill, your AI delivers detailed ETF premium/discount analysis, screens for the largest outliers, and explains structural drivers like blocked arbitrage or dealer gamma exposure. It's especially valuable for leveraged, inverse, international, bond, commodity, and crypto ETFs, where price deviations can be significant and persistent.
What you can do
- Check if an ETF trades at a premium or discount: "Is IBIT above NAV right now?" returns the exact percentage and context.
- Compare premiums/discounts across ETFs: "Compare HYG, JNK, and LQD" gives a ranked table with interpretation.
- Screen for extreme premiums/discounts: "Show me the 5 ETFs with the biggest discounts today" returns a screener list.
- Explain why a premium or discount exists: "Why is BITO at a premium?" provides a causal breakdown (liquidity, arbitrage, sentiment).
- Decompose a sudden ETF move: "Why did KWEB jump 10% when its holdings rose 6%?" splits the move into NAV-driven and structural components, including gamma exposure.
- Estimate premium convergence timeline: For persistent gaps, get a forecast on how quickly the premium may close.
How it works
When you request an ETF premium check, your AI fetches the latest market price and NAV from Yahoo Finance using yfinance. It computes the premium or discount as a percentage, compares it to historical and category norms, and filters out noise from bid-ask spreads. For multi-ETF comparisons or screeners, it processes a batch of tickers and ranks them by deviation. If you ask for a deep dive or decomposition, it analyzes options data for dealer gamma exposure, checks for signs of blocked creation/redemption, and quantifies how much of a surge is NAV-driven versus structural. Explanations are tailored, with references to liquidity, arbitrage, and sentiment factors.
Good to know
- Requires Python and yfinance (auto-installed if missing).
- Works only on CLI agents (Claude Code, Codex, etc.), not on Claude.ai web.
- No API keys or manual setup needed.
- Reference files provide detailed formulas and gamma decomposition frameworks.
Install this skill
- 1
Get the skill — it’s free
Use the Get this skill panel. Unlocked skills stay in My skills. - 2
Download or clone the files
Download the zip, or clone the repo and copy theplugins/market-analysis/skills/etf-premiumfolder. - 3
Put it where your agent looks for skills
For Claude Code, use your personal skills folder (every project) or a project’s own folder:~/.claude/skills/etf-premium/SKILL.md # all projects .claude/skills/etf-premium/SKILL.md # this project only
- 4
Just ask
No command needed. The agent reads the skill’s description and loads it on its own when your request matches.
SKILL.md frontmatter
What your agent reads to decide when to load this skill.
--- name: etf-premium description: 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). ---
Files
Open any Markdown file to read it here.
Related skills
View all →- Stock Liquidity AnalysisFreeYour AI analyzes a stock’s liquidity: bid-ask spreads, volume, order book depth, market impact, turnover, and slippage, all from Yahoo Finance data. Get a liquidity grade and cost estimates for trading.
- Yahoo Finance Data FetchFreeGet current quotes, price history, financial statements, options chains, dividends, analyst estimates, and more for any stock or ETF using Yahoo Finance data. Your AI handles tickers and custom screens.
- SaaS Valuation CompressionFreeYour AI analyzes how a private SaaS company’s ARR multiple changed between funding rounds, attributes the causes, and benchmarks against market medians and peers. Includes charts and a concise verdict.
- Stock Correlation AnalysisFreeYour AI finds correlated stocks, measures pairwise correlation and beta, builds correlation matrices, and tracks rolling or regime-based co-movement using Yahoo Finance data. Great for pair trading, sector analysis, and risk management.