Prepare Mintos Statements for Portfolio Performance Import
Simple CLI that
- reads all CSV files in the current working directory
- concatenates them
- processes the statements
- map Mintos types to Portfolio Performance types
- sums all statements for each day and type to minimize rounding inaccuracies (see here)
- export proccessed data as CSV to import into Portfolio Performance
Simple tool implemented to make my personal workflow more convenient. However, maybe it also helps you.
Tested for:
- German Mintos exports and Portfolio Performance
- MacOS
- Python 10
- Poetry installed package
I don't see a reason why it shouldn't work for another technical setup. Only pandas
is a requirement. PR's are welcome to make the code more generic regarding language settings.
- clone repo:
git clone git@github.com:se-jaeger/mintos-statement-prep-for-portfolio-performance.git
- install package:
poetry install
- download statements form Mintos and add to
data
directory - run the tool and follow instructions
➜ $ prep-mintos-statements Using the following files: ['2023-12-09.csv', '2022-account-statement.csv', '2021-36326852-eur-de-statement.csv', '2020-36326852-eur-de-statement.csv', '2023-account-statement.csv'] OK (Y/N)? y Using the following output file: 2023-12-09.csv OK (Y/N)? y
- import the output file into Portfolio Performance (it should detect duplicates and not reimport them)