Skip to content

Conversation

@georgemac-labs
Copy link
Contributor

@georgemac-labs georgemac-labs commented Dec 7, 2025

  • Amend IBFlex import to include option expirations transactions,
    to avoid expired "zombie" positions accumulating in the portfolio
  • Add test, with examples of OTM and ITM (assignment) transactions

Explanation / discussion of this PR: https://forum.portfolio-performance.info/t/interactive-brokers/276/365

Note: The real examples I have are generally shorts. I could do with examples of expiring profitable long options trades, to ensure those are handled correctly.

- Amend IBFlex import to include option expirations transactions,
  to avoid expired "zombie" positions accumulating in the portfolio
- Add test, with examples of OTM and ITM (assignment) transactions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants