SpreadJS Documentation > Formula Reference > Formula Functions > PRICE |
This function calculates the price per $100 face value of a periodic interest security.
PRICE(settlement,maturity,rate,yield,redeem,frequency,basis)
This function has these arguments:
Argument | Description |
---|---|
settle | Settlement date for the security |
maturity | Maturity date for the security |
rate | Annual coupon rate |
yield | Annual yield for the security |
redeem | Redemption value per $100 face value for the security |
frequency | Frequency of payment, number of payments per year; must be 1, 2, or 4 |
basis | [Optional] Integer representing the basis for day count (Refer to Day Count Basis.) |
This function returns a #VALUE! error when settle or maturity is invalid. A #NUM! error is returned if frequency is a number other than 1, 2, or 4. Settle, maturity, frequency, and basis are truncated to integers. If yield or rate is less than 0, a #NUM! error is returned. If redeem is less than or equal to 0, a #NUM! error is returned. If basis is less than 0 or greater than 4, a #NUM! error is returned. If settle is greater than or equal to maturity, a #NUM! error is returned.
Accepts numeric data and dates. Returns numeric data.
PRICE(A3,A4,A5,A6,A7,A8,A9)