Closed vivienbo closed 1 year ago
This is indeed an issue with the dataset. tobcalc searches the ISIN on Yahoo Finance and uses the search results to determine the type of security which could be stock, ETF or something else.
From my understanding, the mapping of the quoteType
field in the Yahoo Finance search results is as followed:
EQUITY
generally means stockETF
means ETFMUTUALFUND
means mutual fundHere's the exact code that handles this:
I believe the problem here is that the quote type of this security is EQUITY
while it should be ETF
.
Looking at IE00B4L60045
, another bond ETF, we can see that this is correctly identified as an ETF on Yahoo Finance:
Possible solutions
I could maybe add some code to check if the title of the security in Yahoo Finance contains the word "ETF", but that obviously is quite hacky and again, isn't a deterministic way to determine the type of security of a current ISIN.
As you already mentioned, it's also possible to override this in the interface of tobcalc.
If this is a popular ETF within the BEFIRE community, I can look into manually overriding the security type within the code i.e. hardcoding the details.
Hello,
Thanks for your quick analysis.
I don't know how popular it is in the BEFire community however for sure, this one is part of the r/BEFire Beginner's guide to index investing in Belgium section 3 Funds - Bonds
.
So it's more likely people who started last 36 months are to buy at least this one to complement their portfolio (either now or later).
For the other bonds ETF I own, indeed there is no issue faced.
Fixed in 1e743e1
May take some time for your browser cache to update with the newest version.
Some
ETF
are treated asstock
by TOBcalc which applies a 0.35% tax rate.The PRIIPS KID states it is a
fund
, managed byiShares III PLC
which from my understanding is a SICAV/BEVEK.Note: