Skip to content
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

Generic ofx2dataframe converter capable of handling multiple inputs #144

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mbkamble
Copy link

Hi. I find it useful to generate dataframe(s) from ofx transactions parsed from one or more ofx source files, for example when importing transactions into a personal finance app like beancount. Inspired by the code in utils/ofx2xlsx.py, I felt it would be better to make it generic to handle any available fields based on the transaction type and code the converter as a function returning mutiple dataframes (one per transaction type) accumulating transactions from all source files. The ofx2xlsx script then trivially has to convert the dataframes to csv or xlsx based on command line option

Created unittest for the same.
Modified utils/ofx2xlsx.py script to use the converter and support
output in csv or xlsx format

@rdsteed
Copy link

rdsteed commented Sep 26, 2018

Looks like you will need to fix
.travis.yml
to include pip install pandas

Milind Kamble added 3 commits November 10, 2021 21:27
Created unittest for the same.
Modified utils/ofx2xlsx.py script to use the converter and support
output in csv or xlsx format
Thus investment securities and cash balance positions are
consolidated into 'Positions' dataframe

Fxed bug associated with attaching acctname to transactions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants