Calculates a security's discount rate based on price.
DISC(settlement: String, maturity: String, price: Number, redemption: Number, basis: String = us_nasd) => Number
Parameter | Description |
Settlement | The security's settlement date. |
Maturity | The security's maturity or end date. |
Price | The price at which the security is bought. |
Redemption | The redemption value of the security. |
Basis | Method to use for counting days per month/year:
|
date1 = "2010-01-02T13:06:15+03:00"date2 = "2039-12-31T13:06:15+03:00"date3 = "2009-01-31T13:06:15+03:00"date4 = "2023-10-31T13:06:15+03:00"date5 = "2009-01-30T13:06:15+03:00"date6 = "2023-10-30T13:06:15+03:00"date7 = "2009-01-31T13:06:15+03:00"date8 = "2023-10-30T13:06:15+03:00"
Formula | Return value |
|
|
|
|
|
|
|
|
|
|