On Quidax, fees for buying and selling are subtracted from the amount entered to arrive at the total. For example, if you enter N100 as the amount of BTC to sell, and the fee is 0.2%, your total will be N99.80. N100 Worth of BTC will be removed from your Quidax account and N99.80 will be credited to your account.
If you also want to buy N100 worth of BTC at 0.2%, N100 worth of BTC will be purchased, then 0.2% of that value will be debited from your account.
For specific fees based , please see: Buy/Sell / Deposit & Withdraw Fees