tmval.Bond.yield_s

Bond.yield_s(t: float, sale: float) → list[source]

Calculates the yield from the perspective of the person to whom you are selling the bond.

Parameters
  • t (float) – The valuation time.

  • sale (float) – The sale price.

Returns

The yield to the person to whom you are selling the bond.

Return type

list