Difference between revisions of "Manuals/calci/PRICEMAT"

From ZCubes Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=PRICEMAT(settlement, maturity, issue, rate, yield, basis)=
+
<div style="font-size:30px">'''PRICEMAT (SettlementDate,MaturityDate,IssueDate,Rate,YieldPercent,Basis)'''</div><br/>
  
*where 'settlement' is the security's settlement date (a date when coupon or a bond is purchased),  
+
*where <math>SettlementDate</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>MaturityDate</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>IssueDate</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>YieldPercent</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(), returns the price per $100 face value of a security that pays interest at maturity.
PRICEMAT() calculates the price per &#36;100 face value of security that pays interest at maturity.
 
  
 
== Description ==
 
== Description ==
 +
PRICEMAT (SettlementDate,MaturityDate,IssueDate,Rate,YieldPercent,Basis)
  
PRICEMAT(settlement, maturity, issue, rate, yield, basis)
+
*The function returns the price per &#36;100 face value of security, that pays interest at maturity.
 
+
*<math>SettlementDate</math>, <math>MaturityDate</math> and <math>IssueDate</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.
*The function returns the price per &#36;100 face value of security that pays interest at maturity.
+
*If <math>SettlementDate</math>  <math>MaturityDate</math> , Calci displays #N/A error message.
*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>Rate</math> and <math>YieldPercent</math> values must be greater than or equal to zero, else Calci displays #N/A error message.
*If settlement date maturity date, Calci displays #N/A error message.
+
*<math>Basis</math> value is optional. If omitted, Calci assumes it to be 0.  
*'rate' and 'yield' values must be greater than or equal to zero, else Calci displays #N/A error message.
+
Below table shows the use of <math>Basis</math> values:
*'basis' value is optional. If omitted, Calci assumes it to be 0.  
 
Below table shows the use of 'basis' values:
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 36: Line 34:
 
|}
 
|}
  
*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 ==
  
PRICEMAT(settlement, maturity, issue, rate, yield, basis) function with inputs in order is calculated as follows:
+
PRICEMAT (SettlementDate,MaturityDate,IssueDate,Rate,YieldPercent,Basis) function with inputs in order is calculated as follows:
  
 
<div id="2SpaceContent" class="zcontent" align="left">
 
<div id="2SpaceContent" class="zcontent" align="left">
Line 54: Line 52:
  
 
|- class="even"
 
|- class="even"
| class="sshl_f" | 5%
+
| class="sshl_f" | 1/2/2008
 
| class="sshl_f" |
 
| class="sshl_f" |
  
 
|- class="odd"
 
|- class="odd"
| class="sshl_f" | 8%
+
| class="sshl_f" | 5%
 
| class="sshl_f" |  
 
| class="sshl_f" |  
  
 
|- class="even"
 
|- class="even"
| class="sshl_f" | $100
+
| class="sshl_f" | 8%
 
| class="sshl_f" |
 
| class="sshl_f" |
  
Line 69: Line 67:
 
| class="sshl_f" |  
 
| class="sshl_f" |  
  
|- class="even"
 
| class="sshl_f" | 0
 
| class="sshl_f" |
 
 
|}
 
|}
  
  =PRICEMAT(A1,A2,A3,A4,A5,A6) : Calculates the Price Value with the inputs in the range A1 to A7. Returns ''81.36538958112115''.
+
  =PRICEMAT(A1,A2,A3,A4,A5,A6) : Calculates the Price Value with the inputs in the range A1 to A6. Returns ''84.24817365442365''.
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|v=m_ahBi3n0Dk|280|center|PRICEMAT}}
  
 
== See Also ==
 
== See Also ==
Line 85: Line 84:
 
*[http://en.wikipedia.org/wiki/Bond_valuation Bond Valuation]
 
*[http://en.wikipedia.org/wiki/Bond_valuation Bond Valuation]
 
*[http://en.wikipedia.org/wiki/Day_count_convention Basis Convention]
 
*[http://en.wikipedia.org/wiki/Day_count_convention Basis Convention]
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 16:03, 16 November 2018

PRICEMAT (SettlementDate,MaturityDate,IssueDate,Rate,YieldPercent,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(), returns the price per $100 face value of a security that pays interest at maturity.

Description

PRICEMAT (SettlementDate,MaturityDate,IssueDate,Rate,YieldPercent,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 , 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 (SettlementDate,MaturityDate,IssueDate,Rate,YieldPercent,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.

Related Videos

PRICEMAT

See Also

References