Advice requested...

The off-the-shelf v2 *ingest/importers/ofx.py* uses the *DTASOF* value of 
the *LEDGERBAL* section as the file date.  However, I find that this date 
is consistently the date I downloaded the data from my bank, not the 
closing date of the period I asked for.  So if, in April, I download 
transactions for January into one file, then download transactions for 
February into another, I get a name collision when running *bean-file* as 
*ofx.py* says each file has a max_date in April.

To change this behavior in my installation I've modified *ofx.py* to look 
for the *DTEND* value in the *BANKTRANLIST* section, which gives me the end 
of the period I queried my bank for.  This has worked out very well for me.

So: is this a bug in *ofx.py,* or am I misapplying the importers feature?  
Or is this a behavior that varies widely from bank to bank?  Should I pack 
my changes into a pull request for others to use?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/5d9554cb-d2a7-4dbe-94d7-1e872173b85an%40googlegroups.com.

Reply via email to