Difference between revisions of "Manuals/calci/PRICEMAT"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
=PRICEMAT(settlement, maturity, issue, rate, yield, basis)=
 
=PRICEMAT(settlement, maturity, issue, rate, yield, 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),
*'issue' is security's issue date (a date when coupon or a bond is issued),  
+
*<math>issue</math> is security's issue date (a date when coupon or a bond is issued),  
*'rate' is security's interest rate,  
+
*<math>rate</math> is security's interest rate,  
*'yield' is security's annual yield,
+
*<math>yield</math> is security's annual yield,
*'basis' is the type of day count basis to use.
+
*<math>basis</math> is the type of day count basis to use.
  
 
PRICEMAT() calculates the price per &#36;100 face value of security, that pays interest at maturity.
 
PRICEMAT() calculates the price per &#36;100 face value of security, that pays interest at maturity.
Line 15: Line 15:
  
 
*The function returns the price per &#36;100 face value of security, that pays interest at maturity.
 
*The function returns the price per &#36;100 face value of security, that pays interest at maturity.
*Settlement, maturity and issue 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>, <math>maturity</math> and <math>issue</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.
*'rate' and 'yield' values must be greater than or equal to zero, else Calci displays #N/A error message.
+
*<math>rate</math> and <math>yield</math> values must be greater than or equal to 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 <math>basis</math> values:
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 36: Line 36:
 
|}
 
|}
  
*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 17:19, 13 December 2013

PRICEMAT(settlement, maturity, issue, rate, yield, 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 issue date (a date when coupon or a bond is issued),
  • is security's interest rate,
  • is security's annual yield,
  • is the type of day count basis to use.

PRICEMAT() calculates the price per $100 face value of security, that pays interest at maturity.

Description

PRICEMAT(settlement, maturity, issue, rate, yield, basis)

  • The function returns the price per $100 face value of security, that pays interest at maturity.
  • , 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.
  • and values must be greater than or equal to 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 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

PRICEMAT(settlement, maturity, issue, rate, yield, basis) function with inputs in order is calculated as follows:

2/2/2008
11/2/2016
1/2/2008
5%
8%
2
=PRICEMAT(A1,A2,A3,A4,A5,A6) : Calculates the Price Value with the inputs in the range A1 to A6. Returns 84.24817365442365.

See Also

References