How the calculation works
Purchase cost includes the fee paid on entry. Sale proceeds exclude the fee charged on exit. Net profit is the difference, and the return uses the full purchase cost as its denominator.
Worked example
Two coins bought at 100 and sold at 125 with a 1% fee on each trade cost 202 and return 247.50, leaving a profit of 45.50.
What if my exchange deducted the fee in tokens?
Use the actual quantity available to sell. This model assumes the purchase fee is paid separately in the quote currency. Reconcile the result with the fills on your exchange statement.
Estimates depend on your inputs. Actual fills, costs and future market conditions can differ.
