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

KeyError: 'mtmYTD' for my full year 2016 & partial 2017 statements. #3

Open
ByteJuggler opened this issue May 16, 2017 · 0 comments
Open

Comments

@ByteJuggler
Copy link

ByteJuggler commented May 16, 2017

Might be me, but I'm running into a problem trying to run my IB statements through the analyzer.

The first year (2015) runs fine, though this is not a full year, starting on 15/05 and ending 31/12.

2016 is a full year (Jan 4 2016 - Dec 30 2016), and does indeed not contain any reference to the mtmYTD attribute. I note it does contain the MTDYTDPerformanceSummary tag, but this is immediately closed again, as compared to 2015 which contains a bunch of MTDYTDPerformanceSummaryUnderlying tags inside of which the mtmYTD attrs are referenced.

2017 is (obviously) a partial started on the first day of 2017 and up to YTD. I also tried up to last business day of last month (based on your README comment), but this made no difference. In both cases it also behaves as above with 2016, e.g. I get the mtmYTD KeyError.

Any ideas what might be going on? It would almost seem to me as though IB's not properly exporting my 2016 and 2017 XML files, and/or that the warning from your README applies? But if so what am I doing wrong?

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

1 participant