Post
Topic
Board India
Re: Win Bitcoin this July with Coinsecure [For Devs Mainly]
by
gowron
on 22/07/2015, 05:01:01 UTC
How about this suggestion?

(example for coins)
Wallet balance = x
your computed balance = y
then deposits/withdrawals = x-y = d

Do the same for fiat
Then you compute your capital gains using y, ignoring d. Will that work?

That will not be correct. To correctly calculate your CG, your sells need to be matched in FIFO order. If you ignore some transactions in either buy or sell, your setoffs will not be true. You will get some number out the tool, but it will not be in keeping with accounting principles. Ideally this should include *all* your bitcoin transactions - because your computing CG for *you* not for your activity on one exchange. It is for this reason that many stock trading / portfolio apps allow you to manually add "transactions" to your portfolio in the view (distinct from the transactions that happened on the exchange)

EDIT: tested with the "test" key. Here's what the UI looks like (for others):

Try a different date range. There are transactions from 2014-01-01 to 2015-06-30