Comments (9)
I now had a look myself and unfortunatly TR seems to not include the VISA card transactions (payments done with card, safeback and round-up ETF buys) in the timeline
responses. This is the reason why they are not included by pytr
.
I got some success by implementing a timelineTransactions
subscription which then appends more timeline_events
, but this only gives me some more entries in the events_with_documents.json
file like "Round up" and Card Transactions, but not all and some of their PDFs fail to download with API errors. Further investigation is required.
from pytr.
I made the necessary changes (https://github.com/MartinScharrer/pytr/tree/timeline_V2). It works now for me. I will do some further tests and then make a pull request.
from pytr.
I also would love to see this. In addition to just the visa transactions, it would be great to get a complete export of the "cash" account, it's basically a normal bank account and exporting it can enable me to import it in my personal finance software (actual budget)
from pytr.
They must have an API. Both TR web app and mobile app show the card transactions, so they must be serving it somehow. Iām not very familiar with websocket, and was unable to find my way around the code.
from pytr.
I analyzed the API now. They seem to have added additional subscriptions (timelineTransactions, timelineDetailV2) which need to be used instead of the old ones (timeline, timelineDetail) which are however still supported but do not include the newer entry types like the card transactions.
I forked the project now (https://github.com/MartinScharrer/pytr) and added handling of the new websocket subscriptions and their handling. Still needs some work in order to get the documents downloaded as the structure changed.
from pytr.
Let me know if you need another hand testing. thanks!
from pytr.
@otmezger If you can test the PR that would be great. If everything works I can make a new release
from pytr.
I gave it a try and observed a few things by comparing both documents with the following commands:
$dir1 = Get-ChildItem -Recurse -path C:\dir1
$dir2 = Get-ChildItem -Recurse -path C:\dir2
Compare-Object -ReferenceObject $dir1 -DifferenceObject $dir2
it works
I got the new saveback documents. I did not try the round up feature yet so I cannot say anything regarding that.
additional general meeting documents
There are two very recent new documents. They should be there and are just missing in the current version it seems.
different order
I have two deletion confirmations of the same security, same day, same minute.
With the current version, the one with the the starting id ac4...
gets renamed. With the new version the one with the id 21c...
gets renamed. But both documents are present.
For me that would be fine.
error
I get the following error message with the new version
Received error message: '106 E {"errors":[{"errorCode":"NOT_FOUND","errorField":null,"errorMessage":"Could not find resource","meta":{"source":"PLATFORM"}}]}'
Interestingly it does not seem to matter. Looking at the logs, there are no files missing from the security that it was just checking when that error occured.
from pytr.
I got some error with some new documents which do not have the date in the subtitle entry.
Some code needs to be coded more robust to handle this.
from pytr.
Related Issues (20)
- Exception when get details for BMW
- Bad Request Messages HOT 5
- Unkown_Error on download documents HOT 1
- BAD_SUBSCRIPTION_TYPE error for pytr portfolio HOT 17
- Session is not invalidated when a new login with different number occurs HOT 2
- last_days command seems to have no effect HOT 4
- Not all Filess Included HOT 3
- ValueError: Connection Error: failed 29 Segmentation fault after dl_docs HOT 20
- pytr dl_docs --last_days 7 docs does not DL PDF, although they are there (checked online with TR) HOT 2
- Crypto gets timeout HOT 8
- Connection Error on dl_docs HOT 1
- ValueError: Connection Error: failed 31 HOT 5
- problem with --last_days reproducable
- Provide pre-build binaries HOT 1
- Export investments as CSV HOT 1
- pytr portfolio gets stuck while unsubscribeing HOT 4
- pytr portfolio stuck after connected to websocket HOT 1
- Saveback documents are not downloaded
- portfolio_history is not working HOT 1
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.