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

usmb_py_vol (routine)

Calculate US municipal bond volatility

Introduced in release: 1.0
Component: US Bonds
Purpose: Calculates either dollar price or yield to maturity for a periodic interest municipal bond from a given and then recalculates using the given plus a change and the given minus a change. The result is then the average change in the result based on the change in the given.

Results: All results are calculated using the industry standard rules or generally accepted practices, accurate to as many places as supported by a double precision value. The variable calculated contains the calculated dollar price or yield to redemption from the given. The variable calc_up contains the calculated dollar price or yield to redemption from the given plus the change. The variable calc_down contains the calculated dollar price or yield to redemption from the given minus the change. The variable calc_average_chg contains average change in the calculated values.

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

Last Mod Date: 03/23/1993© 2001 TIPS, Inc.Doc Version: 5.0