Go To Documentation Main IndexMain Index
Go To TIPS, Inc.TIPS Home
disc_pyd

disc_pyd (routine)

Calculate dollar price, discount rate, and yields for discount securities

Introduced in release: 1.0
Component: Generic
Purpose: Given one of the following five inputs, dollar price, discount rate, money market yield, bond equivalent yield, and coupon equivalent yield it calculates the remaining four for a discount security.

Special Considerations: The variable ce_yield (coupon equivalent yield) is what the street currently refers to as bond equivalent yield.

Results: All results are calculated using the industry standard rules or generally accepted practices. The variables price, discount, yield, be_yield, and ce_yield contain the following results accurate to as many places as supported by a double precision value: dollar price, discount rate, money market yield, bond equivalent yield, and coupon equivalent yield.

Error Conditions: Returned values should be ignored for a non-zero status. See Errors.

Last Mod Date: 01/23/1992© 2001 TIPS, Inc.Doc Version: 5.0