Trading Mechanism Design for Swap Markets