Skip to main content

Betterment plugin for ofxstatement

https://img.shields.io/travis/cmayes/ofxstatement-betterment.svg https://img.shields.io/pypi/v/ofxstatement-betterment.svg https://coveralls.io/repos/cmayes/ofxstatement-betterment/badge.svg?branch=master&service=github

This is an ofxstatement plugin for Betterment CSV statements downloaded from the site’s activity page. ofxstatement converts the CSV into a series of “check” transactions in an OFX file, so Moneydance (for instance) will only consider bank and credit card accounts for the generated OFX file’s import. Given Betterment’s daily gain/loss transaction data, the “check” transaction type works well enough.

ofxstatement is a tool for converting proprietary bank statements into the OFX format, suitable for importing into GnuCash, Moneydance, and other compatible applications. The plugin for ofxstatement parses a particular proprietary bank statement format and produces a common data structure that is then formatted into an OFX file.

Requirements

As with ofxstatement, this plugin requires Python 3. You will need to have ofxstatement installed; the package will be brought in as a dependency if you install the plugin via pip.

Installation

You can install the plugin via most of the normal Python methods (be sure to install using your environment’s python3 installation). Remove the –user option if you wish to install the package globally.

pip

pip3 install --user ofxstatement-betterment

setup.py

python3 setup.py install --user

Configuration

Note that you can specify ‘bank’ and ‘account’ in ofxstatement’s configuration file (accessible using the ofxstatement edit-config command or directly at ~/.local/share/ofxstatement/config.ini (on Linux, at least). Setting these values makes it easier for your personal finance application to recognize which account the file’s data belongs to.

Also note that transactions for zero amounts are filtered by default. If you wish to include zero-amount transactions, set ‘zero_filter’ to ‘false’ in your settings. Here is an example of a settings block for the betterment plugin:

[betterment]
account = 8675309
plugin = betterment
zero_filter = false

Usage

Export your Betterment activity into a CSV file (it’s currently transactions.csv). Then run:

$ ofxstatement convert -t betterment transactions.csv betterment.ofx

You can then import betterment.ofx into the personal finance application of your choice.

History

0.3.0 (2015-11-15)

  • Updated to support newer CSV format by using header row rather than index, support the new date format, and sort by date for beginning and ending balance.

0.2.4 (2015-10-18)

  • Changed to a SHA-256 hash for the pseudo-unique transaction ID in order to improve ID stability while preserving uniqueness.

0.2.2 (2015-10-04)

  • Added filter to remove pending transactions (which have a blank ending balance)

0.2.1 (2015-09-27)

  • Small documentation improvements.

0.2.0 (2015-09-27)

  • Added tests

  • Wired up to Travis CI

  • Added coveralls test coverage reporting.

0.1.0 (2015-09-26)

  • Uploaded to pypi

  • Added to github

Metadata

Release files for ofxstatement-betterment 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ofxstatement-betterment 0.3.0
File Size Uploaded Provenance
ofxstatement-betterment-0.3.0.tar.gz 21.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ofxstatement-betterment 0.3.0
File Interpreter ABI Platform
ofxstatement_betterment-0.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 30.8 kB

Release files / ofxstatement-betterment-0.3.0.tar.gz

Download URL ofxstatement-betterment-0.3.0.tar.gz
Size 21.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d1f9f9e8b22ee047722a362c3f21e80b2362a44d0fee6dbad9169f40874edec2
BLAKE2b-256 checksum
How to use checksums
8c3bb09c6f6308b186738cc3d14cbbf77418ed7911b213bccde2ddc91d736c76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ofxstatement_betterment-0.3.0-py2.py3-none-any.whl

Download URL ofxstatement_betterment-0.3.0-py2.py3-none-any.whl
Size 8.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b2dbb92d2b03c14b0ffa35c514797cce80ed7497b5b4baf0485541066d71ef0b
BLAKE2b-256 checksum
How to use checksums
573482c056c0a7bbf459961e2ffef87216a5ab5afa69d86f91e63980710eb5a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ofxstatement-betterment 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page