With importing is the "ugly" side of personal finance, I've tried hard to 
automate them away so I spend almost no time importing, and instead spend 
my time analyzing and understanding. I've found maintainability and 
extensibility (adding new importers) to be key. Here, I share a couple of 
significant updates to my importer framework.

Installation: *pip install beancount-reds-importers* 
Github link <https://github.com/redstreet/beancount_reds_importers>

1) the source parser (aka the "reader") is now separate from the 
transaction creator. This makes it easy to combine any:
- current readers: ofxreader, csvreader
- current creators: investments, banking (including credit card)

Constructing entries for investment accounts can be complex and ugly due to 
the special casing required, and the variances between brokers. Separating 
these two allows us to reuse well tested "investments" code with ofx, csv, 
and other readers. More on this later.

2) "Commodity leaf" accounts are now supported, optionally. I recently 
moved my accounts to using these as a part of making returns computations 
easier with what is now Martin's beangrow. The importers will now 
optionally output transactions like:

2018-01-01 * "Buy"
  Assets:Investments:HOOLI  10 HOOLI @ {2 USD}
  Assets:Investments:USD

2018-01-01 * "Dividends"
  Assets:Investments:USD  10 USD
  Income:Investments:HOOLI

There are several other features that I'll write about later.

-- 
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/3bed604c-ffd5-484b-a67b-917af4589181n%40googlegroups.com.

Reply via email to