Sort:  

Most trading platforms will calculate this stuff for you and send you a 1099 but if you're doing this trading outside of something like that you'll have to come up with another solution.

Coin Marketplace

STEEM 0.18
TRX 0.24
JST 0.034
BTC 97362.62
ETH 2681.91
USDT 1.00
SBD 4.68