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.06
TRX 0.32
JST 0.061
BTC 66732.01
ETH 2007.49
USDT 1.00
SBD 0.50