pytr-org / pytr

Use TradeRepublic in terminal and mass download all documents
https://pypi.org/project/pytr/
MIT License
425 stars 76 forks source link

Export investments as CSV #60

Closed LucEast closed 4 months ago

LucEast commented 7 months ago

Is your feature request related to a problem? Please describe.

Da TradeRepublic nicht die beste Übersicht über die Investments bietet wollte ich 3rd Party Portfolio Tracker (Delta.app oder CoinTracking) nutzen um meine Investments (vorallem Crypto) dort übersichtlich einsehen zu können um Haltefristen etc. einhalten zu können.

Describe the solution you'd like A clear and concise description of what you want to happen.

Eine weitere funktion wie z.B. export_investments wäre cool. Diese könnte ähnlich wie export_transactions aufgebaut sein, nur mit dem unterschied, dass nicht auf keywörter wie "Einzahlung", "Bonuszahlungen", "Auszahlungen" und "Reinvestierung" gematcht wird, sondern eventuell auf event['cashChangeAmount'].

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

-

Additional context Add any other context or screenshots about the feature request here.

LucEast commented 7 months ago

Seems like this is already implemented within pytr portfolio -o /path/to/output Unfortunately, the portfolio function runs in a deadlock for my portfolio. The issue is described in #61. However, it would be nice if one could specify the CSV format which will be exported.

Katzmann1983 commented 4 months ago

The issue with the deadlock is fixed now :D