You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OFX 2.2 specifications on page 87 mention this:
• is the date and time that, if used by the client as the next requested , it would pick up exactly where the current response left off. It is the exclusive date and time in history where the server stopped looking for information, based on the request rules.
Hmm, I don't really understand the problem. What is the difference between "inclusive" and "exclusive" dates?
recalculate_balance attempts to calculate the account balance at the start and end of statement' period in case this information is not provided explicitly in the original data source. Can you given an example when it doesn't do what you would expect?
The OFX 2.2 specifications on page 87 mention this:
• is the date and time that, if used by the client as the next requested , it would pick up exactly where the current response left off. It is the exclusive date and time in history where the server stopped looking for information, based on the request rules.
So DTEND is an exclusive date.
The code in ofx.py:
But in function recalculate_balance in statement.py the end_date is calculated inclusive:
The ofxstatement documentation is not clear about this and it will lead to balance inconsistencies as I have already experienced.
The text was updated successfully, but these errors were encountered: