-
Notifications
You must be signed in to change notification settings - Fork 35
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
Same-day transactions in incorrect order, CSV importer #84
Comments
That's because You can use the "new way" of calling |
This issue should be moved to beangulp. |
@tbm One interesting issue is what to do when the CSV file contains transactions covering only one day. In this case it is not possible to infer the ordering from the file content. This is a problem for CSV files that have a balance column: the wrong final balance is picked. I think the only robust solution is adding an ordering parameter to the importer. |
@dnicolodi I'm fine with this being an option instead of beangulp guessing. |
I have two transactions in a CSV file with the same date (the CSV file is in descending order) and when I import it they are in the wrong order.
I looked at the CSV importer and
extract()
correctly setsis_ascending
toFalse
, reverses the transactions and returns the entries in the correct order.So something else must mess up the order. Where should I look?
Test case
Result:
The first two transactions should be swapped.
fidor.csv
config.py
fidor.py
The text was updated successfully, but these errors were encountered: