jamsix / ib-edavki

Skripta, ki prevede XML poročilo trgovalnih poslov v platformi InteractiveBrokers v XML format primeren za uvoz v obrazce Doh-KDVP, D-IFI, Doh-Div in Doh-Obr v eDavkih Finančne uprave.
MIT License
183 stars 59 forks source link

Use conid attribute instead of isin for stock splits #75

Closed nikegp closed 1 year ago

nikegp commented 1 year ago

I don't have old IBKR reports but based on https://github.com/jamsix/ib-edavki/issues/74#issuecomment-1426695270 I think it should be safe just to use conid attribute. In the reports I have (generated recently) conid match for SLG stock before split, i.e. after every split they change conid as well as isin. I'm not sure if using isin by default and falling back to conid would work properly.