In the place I work they are calculating the spread between bonds and swaps as follow...
Bonds vs Swap spread = (Swap bid-ask spread) / (Bonds bid-ask spread)
Is this the "right" way to calculate spreads between two instruments? Or what would be the proper way? The inputs are basically bid and asks.