Skip to content

Conversation

@pstinner
Copy link
Contributor

If there is a Message in the flex query result, the parsing fails with an error. Added the Message tag to the FlexQueryResponse class to fix this and its working:

Message: Optional[str] = None

In my case the message was about the Realized calculation after I changed some Tax Lot in IB, but assume it can come for different reasons.

@csingley
Copy link
Owner

csingley commented Apr 1, 2025

LGTM

@csingley csingley merged commit 9a6a4ac into csingley:master Apr 1, 2025
0 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants