Giter VIP home page Giter VIP logo

Comments (4)

marzzzello avatar marzzzello commented on July 29, 2024 1

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.

marvin226 avatar marvin226 commented on July 29, 2024

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.

marzzzello avatar marzzzello commented on July 29, 2024

Interesting. My files all use : instead of /

from pytr.

MartinScharrer avatar MartinScharrer commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.