Calculate treasury security auction formula dollar price when there is greater than 1 period to redemption
Introduced in release: 1.0 Component: US Bonds Purpose:
Calculates the dollar price for an auctioned Treasury bond and note that has more than one period remaining to maturity.
Alternatives:
This routine requires inputs normally provided by other interim routines. The auct_py_ai routine uses a coupon rate and relevant dates in computing a price. auct_py_ai is also more inclusive in that it internally determines the number of remaining periods to maturity and selects the appropriate pricing algorithm (less than or equal to one period or greater than one period).
Notes:
The maturity date used by this routine can be a maturity/redemption date.
Results:
All results are calculated using the U.S. treasury auction formulas. The returned value is the price per 100 of maturity value, accurate to as many decimal places as supported by a double precision value.
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.