Title: [ANN] cryptocurrency capital gains calculator for ledger Post by: redfish64 on January 13, 2016, 07:48:57 AM This is a little tool for helping with capital gain calculation for crypto currencies. It uses ledger-cli.org style account books and spits out a csv file like the following:
The "Refs" column pointa to the file number, line number(s) of the individual ledger posting used, so it's easy to track what this program does. Each line shows the "S", sale, and "B", buy of the coin, and intra-day entries are combined. For example, on line 1, bittrex.dat:43 means the bittrex.dat ledger file, line 43, and an example ledger entry might be: 2015-10-22 12:45:01 * Trade Assets:bittrex XXX BTC Assets:bittrex -XXX FOO WARNING: I just added a large portion to this for ledger and multi crypto currency support and am the only user as far as I know, so there may be bugs lurking. This is GNU licensed. You can get it here: https://github.com/redfish64/bitcoin-tax-calculator Title: Re: [ANN] cryptocurrency capital gains calculator for ledger Post by: fiotermca on February 12, 2019, 02:52:04 PM This is a little tool for helping with capital gain calculation for crypto currencies. It uses ledger-cli.org style account books and spits out a csv file like the following: ... You can get it here: https://github.com/redfish64/bitcoin-tax-calculator Hi, I started with "hledger" and tried to import csv trades... Are you still working with ledger and scritping? |