pytr-org / pytr

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

Add option to save portfolio to csv #54

Closed tilidev closed 3 months ago

tilidev commented 4 months ago

Core idea: With this option, when providing the -o or --output option (and a filepath) to the portfolio command, the key information of the portfolio is exported to a csv file. This eases the use of net value and ISIN etc. for further analysis, since csv format is easier to use when needing further analysis than the formatted string output in the CLI.

joshua-dessol commented 4 months ago

Works great, any chance you could also add a function to export the current cash value into the CSV?