BitMEX spot fees are charged in the quote currency. This means the fees are taken from the currency you spend when buying and the currency you receive when selling. For example, you placed an order to buy XBT with USDT, your fees will be charged in USDT.