It is comparativeadvantage, not absolute advantage, that makes a swap pay, and a dealer's spread splits the gain three ways. Set each firm's cost in both markets. The quality spread differential QSD = |fixed gap − floating gap| is the total gain available, and it is shared by Firm A, Firm B, and the dealer.
Floating gap (B − A) = 50 bp vs 100 bp = 50 bp
QSD = |200 bp − 50 bp| = 150 bp
Discuss.Load "Classic QSD" and confirm Firm A is cheaper in both markets yet the swap still pays. Why does absolute advantage not matter? Now drag B's floating spread until both gaps are equal and the QSD collapses to zero. If real capital markets are efficient, should a persistent QSD survive arbitrage (Hull 2022, §7.4)?
Convention: floating quoted as BBSW + spread (bp). Total gain QSD = |fixed gap − floating gap|. The dealer spread is capped at the QSD; A and B split the remainder, so A + B + dealer = QSD exactly. Per-annum rates, notional and tenor aside. Illustrative split; the real division is negotiated.