Releases: skironDotNet/wallet-export-to-cointracking
Same as major v2.2.0 plus fixes
TxId collision fix for CoinTracking correct import
PIVX coin auto detect fix to default from PIV to PIVX
Correct withdrwal representation and other fixes
Now since CT has Margin Profit and Margin Loss. The "Declare mining as cost basis zero" has been modified to "Declare mining as realized capital gain"
Tested via real trading and cashout compared the single cent, withdrawals must be 2 transactions: Withdrawal for base amount, and Margin Loss for fee. This per IRS rules adjust the cost basis, as we are losing what we gained by paying the fee this need to be offset. So it now does true gain/loss calculation.
"Payment to yourself" now as Margin Loss, much better than Spend since most accountants won't accept fee repert as "too confusing" or "don't know where to put it"
Refactored code for easier changes