Hi greentea,
The problem is: how shall the software recognize that it is a referral commission if you sell coins that are not there?
Referral commissions are not provided through the CSV or the API. They must be entered manually. You can find the information at:
https://www.binance.com/invite.html If you enter these inputs as "Gift", the software will also not calculate a gain on a sale.
I hope it helps.
I understand that, regardless on whether it is a gain or gift, I was mainly looking for a way once these are sold to have the balances equal out and not have negative balances.
So when the software recognizes a coin sold with no input, it allows you to tag it whatever way, and zero out the balance once sold to have a more accurate looking portfolio instead of negative balances.