Taxes on trading profits are not paid on each trade. A losing trade cancels out some profits from a winning trade, and tax will be assessed at the aggregate each financial year. Tax optimization contributes to the financial success operationally, but not is a core part of a quant fund's business.