Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exchange of an altcoin to BTC is not tracked properly causing significant 8949 profit/loss calculation mistake #16

Open
CoolSpot opened this issue Jul 6, 2021 · 0 comments

Comments

@CoolSpot
Copy link
Contributor

CoolSpot commented Jul 6, 2021

For tax purposes, exchange of a $COIN to BTC is recorded as two transactions:

  1. sell $COIN for USD
  2. buy BTC with USD
    This is handled in the function CoinTaxes.py->fix_orders().

There is a mistake that for amount of $COIN sold, the order['cost'] is used instead of order['amount'].
The order['cost'] contains amount of BTC purchased, while order['amount'] contains amount of $COIN sold.

For example, if in reality you have sold 10 ETH to buy 1 BTC, due to the error, that would be recorded as two transactions:

  1. sale of 1 ETH for USD cost of 10 BTC
  2. purchase of 10 BTC with USD from the above
    Which significantly interferes with gain/loss and proceeds calculations.
CoolSpot added a commit to CoolSpot/CoinTaxes that referenced this issue Jul 7, 2021
…properly causing significant 8949 profit/loss calculation mistake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant