项目作者: davkal

项目描述 :
FIFO-based accounting for Bitstamp transaction files to calculate year gain/loss for tax purposes.
高级语言: Python
项目地址: git://github.com/davkal/bitstamp-fifo.git
创建时间: 2020-01-27T09:31:37Z
项目社区:https://github.com/davkal/bitstamp-fifo

开源协议:MIT License

下载


Bitstamp FIFO Gain/Loss calculator

FIFO-based accounting for Bitstamp transaction files to calculate year gain/loss for tax purposes.
Does not support tax-free year-long holdings.

Setup

Requires python 2.7

  1. Clone repo
  2. Download Transactions.csv into cloned repo.
  3. Run python bitstamp_fifo.py <file> <tax-year>

Notes

  • Distinguishes between different cryto currencies
  • Assumes all transactions are done in same fiat currency (e.g., EUR)
  • No detection of year-long holdings