settlement,maturity,coupon,yld,frequency,basis!Returns the annual duration of a security with periodic interest payments!is ...

!settlement,maturity,coupon,yld,frequency,basis!!Returns the annual duration of a security with periodic interest payments!is the security's settlement date, expressed as a serial date number!is the security's maturity date, expressed as a serial date number!is the security's annual coupon rate!is the security's annual yield!is the number of coupon payments per year!is the type of day count basis to use!