Closed Johannes0941 closed 2 years ago
try to use it like: pytr export_transactions C:\Users\49176\Documents\path\to\other_events.json C:\Users\49176\Documents\export\path\to\results.csv
Thank you! Now I understood what the function does. However I found that dl_docs already creates such a file, so maybe dl_docs should be positioned a bit clearer, as it seems to me this would be the most important function for most Parquet/ Portfolio Performance users. Also I guess you need to download the docs anyway before being able to export the transactions, so maybe the extended functionality of dl_docs made this method obsolete?
In my initial understanding the method would have created a method of all buy and sell actions of stocks directly, but now when reading the description I understand that it only considers bank transerfs to the account.
But as Parquet has a very good batch importing of pdf´s, this missing funtionality was not really a problem after all.
I updated the help messages in the new version to make things clearer.
The export_transactions
command is currently not really needed as dl_docs does the same after the documents are downloaded.
But if you want to change the language of the exported csv file the command is quite useful (yes the csv for Portfolio Performance is language dependent, don't ask me why). Maybe there will be more options in the future.
P.S. Thanks for your donation!
Description of the bug When calling the export_transactions function, I get a permission denied error. Probably the input and ouput should be something else. Could you please clearify that and maybe add it in the code documentation. Thank you very much!
Error log
After calling the function I added the folder previously generated by dl_docs and the same folder, to save the document there. Are these principally the right steps?