Skip to content

Add parsing for a few more Trade Republic event types#359

Open
shukali wants to merge 2 commits into
pytr-org:masterfrom
shukali:feature/parse-additional-events
Open

Add parsing for a few more Trade Republic event types#359
shukali wants to merge 2 commits into
pytr-org:masterfrom
shukali:feature/parse-additional-events

Conversation

@shukali

@shukali shukali commented Jun 16, 2026

Copy link
Copy Markdown

Add parsing for a few more Trade Republic event types

While going through my transaction history I hit a bunch of events that pytr didn't recognize yet, so I added handling for them:

  • Incoming securities transfers (SSP_SECURITIES_TRANSFER_INCOMING) now get mapped to a TRANSFER_IN event, including ISIN parsing and a sensible default value.
  • A few more events are now explicitly ignored instead of showing up as "unknown": ADDRESS_CHANGED, TRADING_ORDER_REJECTED, the "Neues Gerät" (new device) title, and the "Kauforder abgelehnt" / "Dividende. Cash oder Stockdividende?" subtitles.
  • Added support for English-language sections/fields (Transaction, Overview, Fee, Shares), since some accounts seem to return these in English rather than German.

Also added test fixtures + tests for the new cases (address changed, rejected buy order, new device, incoming securities transfer).

Closes #358

@shukali

shukali commented Jun 16, 2026

Copy link
Copy Markdown
Author

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.

Add parsing for a few more Trade Republic event types

1 participant