tmval.Bond.yield_j

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

Calculates the yield to the bondholder should they sell the bond at time t.

Parameters
  • t (float) – The valuation time.

  • sale (float) – The sale price.

Returns

The yield to the bondholder.

Return type

list