I've cleaned it up and checked it in to a repo here <https://github.com/redstreet/beancount_reds_ingestor>. It should have enough to import multi-account Vanguard qfx files mostly out of the box. See the README <https://github.com/redstreet/beancount_reds_ingestor/blob/master/README.md> .
My test infrastructure is unfortunately dependent on my personal files. So I'm unable to share it for now, without a fair amount of work. Let me know your experience. On Sunday, April 26, 2020 at 4:15:36 PM UTC-7, Jacob Hannan wrote: > > The built-in importer may well not. I recall an older email thread in > which Martin mentioned merging in bits of ledgerhub into the main project, > but it may be the case that the ofx_invest importer wasn't part of that. > > I'd love to take a look at anything you are willing to share. I'm not a > programmer, let alone a python programmer, so I'm mainly working from > examples. > > Thanks! > > -JH > > On Sun, Apr 26, 2020 at 12:32 PM Red S <redst...@gmail.com <javascript:>> > wrote: > >> Does the built-in ofx importer handle investment transactions (eg: >> buy/sell stocks/funds)? >> >> I built my own generic investment ofx importer on top of ofxparse, and >> I've been using it for years. It works for a number of brokerages including >> the case you describe, vanguard with multiple real accounts. I've been >> wanting to share my ofx importers, and will do so shortly. >> >> It solves a number of issues including: >> - stock and fund transactions including buys and sells (lot matching, >> however, is left to the user) >> - special handling of money market transactions (price conversions) >> - customizable for each brokerage house, to account for ofx differences, >> filenames, etc. >> - produces balance assertions >> - handles commissions, fees >> - produces price entries (many brokerages include ticker prices of all >> active tickers in the account on the date of download, in addition to of >> course, the prices gleaned from transactions) >> - available cash computation >> - cusip to fund matching (some brokerage houses identify funds only by >> cusip or other custom tickers in the ofx) >> >> >> >> On Sunday, April 26, 2020 at 7:16:04 AM UTC-7, hann...@gmail.com wrote: >>> >>> Hello, all. >>> >>> Can anyone point in the direction of some examples on setting up the >>> built-in OFX importer for investment accounts? I have it working fine for >>> regular bank accounts (where there is one account number), but I'm not sure >>> how to configure it for accounts that have multiple "subaccounts." For >>> example, when I export transactions from Vanguard, I'm exporting for 5 real >>> accounts (4 IRA accounts and one brokerage account) and a larger number of >>> funds under each one. >>> >>> In looking through the documentation and old email threads, I can't tell >>> if this is something one accomplishes in the ".config" file using the >>> built-in importer or if I need to write a custom importer for investment >>> accounts. Old emails reference a ofx_invest importer that was part of >>> ledgerhub, but I know that is discontinued. >>> >>> Thanks in advance! >>> >>> -JH >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Beancount" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/beancount/JtE9JLQY3Og/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> bean...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beancount/54d2b408-e27f-44bb-a439-0eaf093646bf%40googlegroups.com >> >> <https://groups.google.com/d/msgid/beancount/54d2b408-e27f-44bb-a439-0eaf093646bf%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/beancount/6b47bfdb-3e9e-48f7-a6ad-fa308ad34265%40googlegroups.com.