Skip to content

Added support for CUSIP securities (bonds, t-bills, etc)#377

Open
alp3 wants to merge 1 commit intokedder:masterfrom
alp3:debtinfo-support
Open

Added support for CUSIP securities (bonds, t-bills, etc)#377
alp3 wants to merge 1 commit intokedder:masterfrom
alp3:debtinfo-support

Conversation

@alp3
Copy link

@alp3 alp3 commented Feb 23, 2026

This PR adds support for CUSIP securities which are now listed under DEBTINFO with UNIQUEIDTYPE set to CUSIP. Test added: test_cusip_writes_debtinfo_and_cusip_type

Also, I fixed a logic bug in statement.py - I changed an if to an elif. I believe this was the intent. The bug prevented self.trntype "BUYDEBT" to ever be possible.

I'm new to using ofxstatement - thanks for creating/maintaining this project. I'm happy to change around the PR however you like, just let me know.

…w listed under DEBTINFO with UNIQUEIDTYPE set to CUSIP
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.

1 participant