Difference between revisions of "Manuals/calci/PRICEDISC"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
=PRICEDISC(settlement, maturity, discount, redemption, basis)=
 
=PRICEDISC(settlement, maturity, discount, redemption, basis)=
  
*where 'settlement' is the security's settlement date (a date when coupon or a bond is purchased),  
+
*where <math>settlement</math> is the security's settlement date (a date when coupon or a bond is purchased),  
*'maturity' is security's maturity date (a date when coupon or a bond expires),  
+
*<math>maturity</math> is security's maturity date (a date when coupon or a bond expires),  
*'discount' is security's discount rate,
+
*<math>discount</math> is security's discount rate,
*'redemption' is security's redemption value per &#36;100 face value, and
+
*<math>redemption</math> is security's redemption value per &#36;100 face value, and
*'basis' is the type of day count basis to use.
+
*<math>basis</math> is the type of day count basis to use.
  
 
PRICEDISC() calculates the price of a discounted security per &#36;100 face value.
 
PRICEDISC() calculates the price of a discounted security per &#36;100 face value.
Line 15: Line 15:
 
*The function returns the price of a discounted security per &#36;100 face value.  
 
*The function returns the price of a discounted security per &#36;100 face value.  
 
*PRICEDISC is calculated by subtracting discounted amount from redemption value.
 
*PRICEDISC is calculated by subtracting discounted amount from redemption value.
*Settlement and maturity dates should be entered either in 'date format' or 'dates returned using formulas'. If dates are not valid, Calci displays #N/A error message.
+
*<math>settlement</math> and <math>maturity</math> dates should be entered either in 'date format' or 'dates returned using formulas'. If dates are not valid, Calci displays #N/A error message.
*If settlement date ≥ maturity date, Calci displays #N/A error message.
+
*If <math>settlement</math> date ≥ <math>maturity</math> date, Calci displays #N/A error message.
*'discount' value must be greater than or equal to zero, else calci displays #N/A error message.  
+
*<math>discount</math> value must be greater than or equal to zero, else calci displays #N/A error message.  
*'redemption' value must be greater than zero, else Calci displays #N/A error message.
+
*<math>redemption</math> value must be greater than zero, else Calci displays #N/A error message.
*'basis' value is optional. If omitted, Calci assumes it to be 0.  
+
*<math>basis</math> value is optional. If omitted, Calci assumes it to be 0.  
 
Below table shows the use of 'basis' values:
 
Below table shows the use of 'basis' values:
  
Line 37: Line 37:
 
|}
 
|}
  
*If 'basis' value is other than 0 to 4, Calci displays #N/A error message.
+
*If <math>basis</math> value is other than 0 to 4, Calci displays #N/A error message.
  
 
== Examples ==
 
== Examples ==

Revision as of 16:11, 13 December 2013

PRICEDISC(settlement, maturity, discount, redemption, basis)

  • where is the security's settlement date (a date when coupon or a bond is purchased),
  • is security's maturity date (a date when coupon or a bond expires),
  • is security's discount rate,
  • is security's redemption value per $100 face value, and
  • is the type of day count basis to use.

PRICEDISC() calculates the price of a discounted security per $100 face value.

Description

PRICEDISC(settlement, maturity, discount, redemption, basis)

  • The function returns the price of a discounted security per $100 face value.
  • PRICEDISC is calculated by subtracting discounted amount from redemption value.
  • and dates should be entered either in 'date format' or 'dates returned using formulas'. If dates are not valid, Calci displays #N/A error message.
  • If date ≥ date, Calci displays #N/A error message.
  • value must be greater than or equal to zero, else calci displays #N/A error message.
  • value must be greater than zero, else Calci displays #N/A error message.
  • value is optional. If omitted, Calci assumes it to be 0.

Below table shows the use of 'basis' values:

Basis Description
0 US (NASD) 30/360
1 Actual/actual
2 Actual/360
3 Actual/365
4 European 30/365
  • If value is other than 0 to 4, Calci displays #N/A error message.

Examples

PRICEDISC(settlement, maturity, discount, redemption, basis) function with inputs in order is calculated as follows:

2/2/2008
11/2/2016
5%
$100
1
=PRICEDISC(A1,A2,A3,A4,A5) : Calculates the Discounted Price Value with the inputs in the range A1 to A5. Returns 56.33879781420765.

See Also

References