Comments (4)
I was wondering why your date contains slashes. Seems like the date from trade republic is different depending on your locale.
I guess you use English locale. But I found a better way to get the date anyway, so I'll implement that.
https://github.com/marzzzello/pytr/blob/1a798f1581ac1a7f273c60bc5eb6274ee8a97cf2/pytr/dl.py#L80-L81
from pytr.
Thanks for your quick response. I have to clarify that the time contains slashes.
Here are two example filename's located in PATH/Abrechnungen
:
2019-11-21 22/38 Kauf TITLE.pdf
- ...
2022-04-01 12/05 TITLE.pdf
I wrote datetime because I thought about parsing your mentioned iso_date together with the time with datetime. But for sure one could just replace the slash with a colon too :)
from pytr.
Interesting. My files all use :
instead of /
from pytr.
Note that with the changes in pull request #55 the local file name is stored as part of the event JSON. It would be possible to write another python script which then goes through them and renames the files as the user pleases. I am planning to generate some import data for Portfolio Performance from it.
from pytr.
Related Issues (20)
- event.shares has €-sign and causes an error decimal.InvalidOperation in transactions.py -> format_decimal(event.shares HOT 2
- logfile for debug-mode HOT 1
- Provide pre-build binaries HOT 1
- Export investments as CSV HOT 2
- pytr portfolio gets stuck while unsubscribeing HOT 4
- pytr portfolio stuck after connected to websocket HOT 2
- Saveback documents are not downloaded HOT 2
- portfolio_history is not working HOT 1
- pytr dl_docs shows new documents but does not download them HOT 15
- UnboundLocalError HOT 16
- Looking for (co-)maintainers HOT 8
- TypeError for timestamp HOT 1
- pytr download of docs fails if last_days option is provided HOT 8
- Download transactions from date HOT 1
- release is not visible in package manager HOT 3
- Names of Files and their Folders changed HOT 1
- Add the transaction title to the transaction details
- Formatting improvement HOT 2
- Add card transactions into csv automatically HOT 1
- Customizable destination folder structure HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytr.