tmval.Bond.yield_c

Bond.yield_c(times: list = None, premiums: list = None) → list[source]

Calculates the yields given a list of call times.

Parameters
  • times (list) – A list of call times.

  • premiums (list) – A list of call premiums.

Returns

Yield rates for the corresponding call times.

Return type

list