Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fund_bond_holdings not returning expected data #223

Open
Eldomir opened this issue Oct 10, 2023 · 2 comments
Open

fund_bond_holdings not returning expected data #223

Eldomir opened this issue Oct 10, 2023 · 2 comments

Comments

@Eldomir
Copy link

Eldomir commented Oct 10, 2023

It's possible this is because of a change in Yahoo's API, or I might just be daft. But for every bond ETF I know, the duration and maturity returned seem wrong to me. For an obvious example, MINT (an ultra short term bond ETF) shows this:

{
'creditQuality': {},
'creditQualityCat': {},
'duration': 4.79,
'durationCat': {},
'maturity': 98.72,
'maturityCat': {}
}

@dpguthrie
Copy link
Owner

Do you know where this data is contained on YF? I'm having trouble finding where it's located to confirm (I imagine that you're right, the duration seems pretty long for an ultra short term bond ETF).

@Eldomir
Copy link
Author

Eldomir commented Oct 28, 2023

No, on the YF website I can't see duration or maturity for bond ETFs (I might just not be looking in the right place) . I'd expect to find it on the profile, like https://finance.yahoo.com/quote/MINT/profile?p=MINT, but I don't see it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants