An OFX parser already exists as part of beancount.ingest ( https://bitbucket.org/blais/beancount/src/397e821a48c5db2700a8a66868c5d4e68ca19bfb/src/python/beancount/ingest/importers/ofx.py ).
The original design for importing into beancount is the LegerHub doc ( https://docs.google.com/document/d/11u1sWv7H7Ykbc7ayS4M9V3yKqcuTY7LJ3n1tgnEN2Hk/edit#) and the subsequent postmortem and explanation for the beancount ingest is here ( https://docs.google.com/document/d/1Bln8Zo11Cvez2rdEgpnM-oBHC1B6uPC18Qm7ulobolM/edit ). I get the feeling with the new booking branch that the lot opening date problem has been solved, but I'm sure Martin can explain it better than I can. On Thu, Jan 5, 2017 at 9:09 AM Christopher Singley <ch...@singleys.com> wrote: > Hi, I'm writing some accounting applications in Python, and thereby > stumbled upon beancount. > > It occurs to me that you might be interested in my OFX parser: > > https://github.com/csingley/ofxtools > > It handles a pretty decent subset of the OFX spec, it handles OFX versions > 1 & 2, and it has no dependencies beyond stdlib. > > I'm investigating using beancount as an accounting engine...human-readable > text files are great. > > The main focus of my present work is booking investment transactions from > data downloads, and from reading your document "Trading with Beancount" I'm > wondering if it's a good fit. > > Have you ever solved the problem of preserving lot opening dates through > various reorganizations (splits, mergers, spinoffs, basis reductions, > etc.)? In general, assets can be booked in with an opening date different > than the transaction date, and it doesn't appear that beancount handles > that. > > Thanks, > Chris > > -- > 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 beancount+unsubscr...@googlegroups.com. > To post to this group, send email to beancount@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/af40974c-cd6f-4155-a4ea-5d533d4f47b2%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/af40974c-cd6f-4155-a4ea-5d533d4f47b2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 beancount+unsubscr...@googlegroups.com. To post to this group, send email to beancount@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFFHUguR0Mde-gMOLZK4ArJd28b6R5KaHAaeATDMzsp3MBc8OA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.