DB Generator for OFX Financial Statement Data
Project description
OFXDB
Database Generator for OFX Financial Statement Data, by Finarrow.
What is it?
ofxdb is a Python package providing ETL infrastructure needed
to create a database of personal financial data. It uses
ofxtools to connect to financial institutions and retrieve
ofx files that are parsed into various csv files. The
project's goal is to serve as the basis for making better personal
finance decisions by providing a seamless and safe way to aggregate
your account history across any financial institution and make the
data available for you to analyze.
Main features
These are few things that ofxfdb does in its current state:
- Parse
ofxtoolsaccount config file - Retrieve ofx files for all accounts in the
ofxtoolsaccount config - Transform
ofxtoolsaccount info and statement objects into csv files and save to disk
Current support:
Account information
Investment statements
To do:
Bank statements
Tax statements
Generates 5 csv files in your $HOME directory as follows:
$HOME/ofxdb/account_info.csv
$HOME/ofxdb/positions.csv
$HOME/ofxdb/transactions.csv
$HOME/ofxdb/balances.csv
$HOME/ofxdb/securities.csv
For more details, take a look at the tables guide, column definitions and table samples.
Limitations
ofxdb is well-tested with TD Ameritrade accounts that hold only stocks and ETFs.
By design ofxdb should work well for any broker that you can connect to with ofxtools and
for any security types supported by the ofx protocol.
If you encounter any issues, please open an issue against ofxdb on GitHub.
In its current version, ofxdb only works on linux and linux-based systems (including OSX).
Support for Windows is in the scope of the project and will come in a future version.
Where to get it
The source code is currently hosted on GitHub at: https://github.com/finarrow/ofxbd
Binary installer for the latest released version is available at the Python package index.
pip install ofxdb
Dependencies
Getting started
Set up your account credentials in your system keyring using the
ofxtools command line tool ofxget. Do this for all accounts you would
like to aggregate data for. You will be prompted in the command line to
enter your password.
ofxget acctinfo <server_nickname> -u <your_username> --write --savepass
You can get a list of available server nicknames as follows:
ofxget list
Use the generate script to build the tables.
python ofxdb/data/generate.py
Check out the ofxtools documentation if you have any issues using ofxget.
Getting involved
Discuss ofxdb on the Finarrow community Slack
We welcome your contributions. To file a bug, suggest an improvement, or
request a new feature please open an issue against ofxdb on GitHub.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ofxdb-0.0.2.tar.gz.
File metadata
- Download URL: ofxdb-0.0.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88853f20ebc8bb7deb43d09c7d504b89130f3b01ed043876729fcfdf2bad9367
|
|
| MD5 |
574b20fe5557d2a1f789f388a4023d53
|
|
| BLAKE2b-256 |
868fddfc4a973c2c296e55a74c6d9fd0ba95844c4259eb2dd71d0f0993df2cd5
|
File details
Details for the file ofxdb-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ofxdb-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af135c0a4758f3d6f26c45430f118cf8b6b4a6f001db652d8ccecca8d434b74d
|
|
| MD5 |
96e280f5e91eea2da61c698c3f175169
|
|
| BLAKE2b-256 |
09bace2873bab6e89aab23ff4cc76d609dd26158936f1bdf01728aa01cd49979
|