ETF premium calculator
Calculates an ETF's premium or discount to NAV from Yahoo Finance data, and explains why the gap is there.
Claude's review
7/10 Working yfinance premium to NAV routines with interpretation bands and routing, though a reference file is missing.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
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 you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
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).
---
# ETF Premium/Discount Analysis Skill
If 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.
Calculates 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).
**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.
**Important**: For research and educational purposes only. Not financial advice. yfinance is not affiliated with Yahoo, Inc.
---
## Step 1: Ensure Dependencies Are Available
**Current environment status:**
```
!`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\')')"`
```
If `DEPS_MISSING`, install required packages:
```python
import subprocess, sys
subprocess.check_call([sys.executable, "-m", "pip", "install", "-q", "yfinance", "pandas", "numpy"])
```
...From himself65's repository, MIT licence.
Related skills
-
Checked
Startup financial model
Builds an 18 to 36 month driver based financial model showing burn, runway, cash out date and raise size.
7/101 credit -
Checked
Event budget planner
Builds an event budget with the costs people forget, a sized contingency and tracking that flags overspend.
7/101 credit -
Checked
Earnings report recap
Recaps a company's latest earnings from Yahoo Finance: EPS beat or miss, revenue trends and the price move.
7/101 credit -
Checked
Stock liquidity check
Grades how liquid a stock is from Yahoo Finance data, with spreads, volume and likely slippage on big trades.
7/101 credit -
Checked
Cost accounting
Works out what something really costs, to set a price floor, explain margin moves or decide make versus buy.
8/101 credit -
Checked
India tax return filing
Guides a resident Indian through filing an ITR, comparing the old and new tax regimes to pick the better one.
7/101 credit