Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/super3/bifocal

Automated FIFO/LIFO accounting for cryptocurrencies
https://github.com/super3/bifocal

Last synced: 27 days ago
JSON representation

Automated FIFO/LIFO accounting for cryptocurrencies

Awesome Lists containing this project

README

        

Work in progress

Goals:
* Accept cryptocurrency addresses as inputs
* Compile data about Bitcoin and other cryptocurrency buys and sells via block explorer APIs.
* Calculate holdings, gains and losses in USD using public price APIs.
* Provide spreadsheets detailing transactions and gains.
* Provide choice of FIFO vs LIFO

Will Support:
Bitcoin
Counterparty tokens traded against Bitcoin
Poloniex
Parsing Coinbase Reports and other CSVs

Might support:
Ethereum and ERC20 tokens
Other exchanges

Unsolved problems:
Counterparty block explorer APIs only return the most recent 100 transactions for an address.

Credit for much of the accounting code goes to https://github.com/vst/accfifo
His code is released under the BSD License, and files containing it include the license text.

All other code released under AGPLv3.

# TODO:
Spreadsheet parsing

More tests
Test More things

Assumptions:
Exchanges only get deposit from the user.
Exchanges only give withdrawals to the user.