Skip to content

ETF

pyjpx_etf.ETF

Fetch and access JPX ETF portfolio composition data.

Data is lazy-loaded from PCF providers on first property access.

Usage::

import pyjpx_etf as etf

e = etf.ETF("1306")
e.info.name          # "TOPIX連動型上場投資信託"
e.holdings[:5]       # first 5 holdings
e.to_dataframe()     # pandas DataFrame

fee property

Trust fee (信託報酬) as a percentage value, e.g. 0.06 for 0.06%.

Fetched independently from the JPX ETF list page (does not trigger PCF load). Returns None if the fee is unavailable.

nav property

Total fund net asset value in yen.

Computed as cash_component + sum(shares * price) for all holdings. Triggers PCF data load on first access.

to_dataframe()

Return holdings as a pandas DataFrame.

top(n=10)

Return top N holdings by weight with code, name, and weight (%).