WorksheetFunction.OddLYield (Excel)

Returns the yield of a security that has an odd (short or long) last period.

OddLYield (Arg1, Arg2, ..., Arg8)


Dim dblOddLYield As Double
dblOddLYield = WorksheetFunction.OddLYield(Arg1:=, Arg2:=, Arg3:=, Arg4:=, Arg5:=, Arg6:=, Arg7:=)

Arguments

Arg1, Arg2, ..., Arg8

Arg1 - Settlement - the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer

Arg2 - Maturity - the security's maturity date. The maturity date is the date when the security expires

Arg3 - Last_interest - the security's last coupon date

Arg4 - Rate - the security's interest rate

Arg5 - Pr - the security's price

Arg6 - Redemption - the security's redemption value per $100 face value

Arg7 - Frequency - the number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4

Arg8 - Basis - the type of day count basis to use