This library only purpose is to generate a CSV file for Snowball Analytics. It is not affiliated with Trade Republic Bank GmbH.
Currently supported transactions:
- trades
- savings plans
- roundups
- 15 euros per month bonus
- dividends
- interests
- tax corrections
- received stock gift (when opening an account and from a friend)
You need to manually update your current cash balance in Snowball Analytics.
1 - Go to the current portfolio settings and make sure 'Cash accounting' is in 'Current balance'
2 - Import the CSV
4 - Go to https://snowball-analytics.com/cash and update your cash balance.
- Download JSON and convert it to Snowball CSV
- Connect to WebSocket (interact via prompt)
- Known supported commands:
- Transactions: {"type": "timelineTransactions", after: '...' } // list of transactions with optional 'after' option to get the next list of transactions (after needs the hash from the previous call)
- Transaction Details: {"type": "timelineDetailV2", "id": timeline_id } // extra details of a transactions with required timeline_id that is id of a transaction
- Activity Log: {"type": "timelineActivityLog", after: '...' } // list of activies with optional 'after' option to get the next list of activities (after needs the hash from the previous call)
- Cash: {"type": "cash" } // Cash balance
- Can get more of options from https://github.com/pytr-org/pytr/blob/master/pytr/api.py code, but this project isn't supporting and explaining how to use the others for now
- Known supported commands:
1 - Install Node 20.19.0 (use the exact version to avoid errors)
2 - npm install
3 - npm start
If you liked this project and want me to keep it updated. Consider to tip any amount to: https://streamlabs.com/danielferrarir/tip
This project is licensed under the MIT License. See the LICENSE file for details.