-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idea: Feature to aggregate transactions per month #252
Comments
Hi @dell-mic, |
Cool! Let me know if there is anything I can help with. |
Sure thing it is technically a second file. What I meant is: I just created it by duplicating and editing the existing one ;) See here: https://github.com/dell-mic/PP-P2P-Parser/blob/master/src/test/testdata/mintos_several_months.csv |
This looks good to me. Could you create a PR to merge into the feature branch? |
Hi @dell-mic, |
On an unrelated note... Do you have by any chance data for secondary market transactions or fees? Would be great if I could add it to one of the config files to check if they are processed properly. |
Cool, thank you very much for the fast implementation! I should also have some examples for secondary market transactions in my Minto statement file which I can provide. |
I just gave it a try running against my Mintos statement file from 2017 until now: Results look very promising :) I did run in a small glitch first: After that it seemed to work for me. There is a small difference between the interested amount PP is reporting vs. what Mintos says: In my case 2937.99 vs. 2894.71 which I assume could be rooted in rounding errors? |
Regarding the secondary market transactions. Here are some examples from my Mintos statement file. Mintos seems to have changed the file syntax / column ordering a bit. Should I adapt those to the current CSV formatting used in the test files?
|
Do you have an idea what kind of statements these are? |
It might be rounding errors, or some statements are not correctly recognized/processed by the script (not getting matched with the current regexes) |
From what I understand Mintos reports those discounts you get when e.g. purchasing a loan below it's outstanding principal explicitly, instead of increasing the the effective interested rate. |
A further note on the difference of the sum of interested received in PP vs. Mintos: |
So now it's a bit more than what Mintos is reporting? And yes. Okay... that makes sense ... I did not take that into consideration uff. |
Yes, but the gap is less than before ;) For me personally I would not mind this behavior, but I guess it might confuse others, if not documented. If you plan to fix it, I guess you would have to make sure to use a max date of today for the current month when aggregating. |
I think I will leave it as is. Any potential fix is going to introduce additional headache:
Starting the script again next month will now correctly aggregate all payments received in the previous month for the last day of the month. Importing now into PP will create an additional entry for the previous one:
The same behaviour would also apply if I were to use first day of month instead of last day of month. You would just have multiple bookings for the first of the month. What I will do ... Add a statement in the output explaining that dates in the future can't be processed by PP. |
Good point, I haven't thought about PP importing the latest month twice. Thanks again for the fast implementation! |
Documentation updated. Will close this issue now. |
What?
I could imagine an optional parameter like
--aggregate=month
which should sum up transactions per month and booking type. When not given: continue with the current behavior.Why?
Using auto invest on Mintos I have tens of thousands single transactions in PP already, and they are rapidly growing. I do not care about keeping books on each transaction, but rather overall performance of the P2P portfolio. IMHO interest payments per month are good enough for this purpose.
Am I missing something?
The text was updated successfully, but these errors were encountered: