Tools I have for managing the US Thrift Savings Plan (TSP) with beancount. The tools are:
- Import plugin init.py. See also, beancount importer documentation.
- Price fetch tool tspparser.py: Grabs the latest prices from the TSP web site and converts it into a beancount format.
- Clone this repository into your beancount importers folder. For example,
git clone git@github.com:jmoles/beancount-tsp.git tsp
- In your import configuration file, add a the python import directive that references this repo. This assumes you placed the repo in a folder called "importers" relative to your beancount import configuration file.
from importers import tsp
- In the import configuration file, add a beancount import directive:
tsp.Importer(
cash_account="Assets:US:TSP:Cash",
tsp_root="Assets:US:TSP"
),