Skip to content

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

@shukali

Description

@shukali

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions