Difference between revisions of "Manuals/calci/PRICEMAT"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left">  <font color="#000000">'''<font face="Arial, sans-serif"><font size="2">PRICEMAT(settle, M, I, R, yield, basis)</fon...")
 
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left"> 
+
<div style="font-size:30px">'''PRICEMAT (SettlementDate,MaturityDate,IssueDate,Rate,YieldPercent,Basis)'''</div><br/>
  
<font color="#000000">'''<font face="Arial, sans-serif"><font size="2">PRICEMAT(settle, M, I, R, yield, basis)</font></font>'''</font>
+
*where <math>SettlementDate</math> is the security's settlement date (a date when coupon or a bond is purchased),
 +
*<math>MaturityDate</math> is security's maturity date (a date when coupon or a bond expires),
 +
*<math>IssueDate</math> is security's issue date (a date when coupon or a bond is issued),  
 +
*<math>Rate</math> is security's interest rate,  
 +
*<math>YieldPercent</math> is security's annual yield,
 +
*<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.
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">'''Where 'settle''''</font></font><font face="Arial, sans-serif"><font size="2"> is the security's settlement date, 'M' is the security's maturity date, 'I' is the security's issue date, 'R' is the security's interest rate, 'yield' is the security's annual yield, and 'basos' is the type of day count basis to use.</font></font></font>
+
== Description ==
 +
PRICEMAT (SettlementDate,MaturityDate,IssueDate,Rate,YieldPercent,Basis)
  
<br />
+
*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.
 +
*If <math>SettlementDate</math>  ≥ <math>MaturityDate</math> , 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.
 +
*<math>Basis</math> value is optional. If omitted, Calci assumes it to be 0.
 +
Below table shows the use of <math>Basis</math> values:
  
</div>
+
{| class="wikitable"
----
+
|-
<div id="1SpaceContent" class="zcontent" align="left"> <font color="#000000"><font face="Arial, sans-serif"><font size="2">This function computes the price per $100 face value of a security that pays interest.</font></font></font></div>
+
! Basis !! Description
----
+
|-
<div id="7SpaceContent" class="zcontent" align="left"> 
+
| 0 || US (NASD) 30/360
 +
|-
 +
| 1 || Actual/actual
 +
|-
 +
| 2 || Actual/360
 +
|-
 +
| 3 || Actual/365
 +
|-
 +
| 4 || European 30/365
 +
|}
  
* <font color="#000000"><font face="Arial, sans-serif"><font size="2">PRICEMAT shows the error value, when 'settle', 'M', 'I', or 'I' is not a valid date or 'R' or 'Yield' &lt; 0.</font></font></font>
+
*If <math>Basis</math> value is other than 0 to 4, Calci displays #N/A error message.
  
* <font color="#000000"><font face="Arial, sans-serif"><font size="2">Basis must between 0 and 4. </font></font></font>
+
== Examples ==
  
* <font color="#000000"><font face="Arial, sans-serif"><font size="2">PRICEMAT counts the error value when settle ≥ M. </font></font></font>
+
PRICEMAT (SettlementDate,MaturityDate,IssueDate,Rate,YieldPercent,Basis) function with inputs in order is calculated as follows:
  
<br /><br />
+
<div id="2SpaceContent" class="zcontent" align="left">
  
</div>
+
{| id="TABLE3" class="SpreadSheet blue"
----
+
|- class="even"
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
+
| class="sshl_f" | 2/2/2008
 +
| class="sshl_f" |
  
PRICEMAT
+
|- class="odd"
 +
| class="sshl_f" | 11/2/2016
 +
| class="sshl_f" |
  
</div></div>
+
|- class="even"
----
+
| class="sshl_f" | 1/2/2008
<div id="8SpaceContent" class="zcontent" align="left"
+
| class="sshl_f" |
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">Lets see an example,</font></font></font>
+
|- class="odd"
 +
| class="sshl_f" | 5%
 +
| class="sshl_f" |
 +
 
 +
|- class="even"
 +
| class="sshl_f" | 8%
 +
| class="sshl_f" |
 +
 
 +
|- class="odd"
 +
| class="sshl_f" | 2
 +
| class="sshl_f" |
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">PRICEMAT(settle, M, I, R, yield, basis)</font></font></font>
+
|}
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">'''B'''</font></font></font>
+
=PRICEMAT(A1,A2,A3,A4,A5,A6) : Calculates the Price Value with the inputs in the range A1 to A6. Returns ''84.24817365442365''.
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">03-20-2008</font></font></font>
+
==Related Videos==
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">05-18-2008</font></font></font>
+
{{#ev:youtube|v=m_ahBi3n0Dk|280|center|PRICEMAT}}
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">12-12-2007</font></font></font>
+
== See Also ==
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">6%</font></font></font>
+
*[[Manuals/calci/PRICE | PRICE]]
 +
*[[Manuals/calci/PRICEDISC | PRICEDISC]]
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">6%</font></font></font>
+
== References ==
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">0</font></font></font>
+
*[http://en.wikipedia.org/wiki/Bond_valuation Bond Valuation]
 +
*[http://en.wikipedia.org/wiki/Day_count_convention Basis Convention]
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2"><nowiki>=PRICEMAT(B2,B3,B4,B5,B6,B7) is 99.9844</nowiki></font></font></font>
 
  
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
  
{| id="TABLE3" class="SpreadSheet blue"
+
*[[Z_API_Functions | List of Main Z Functions]]
|- class="even"
 
| class=" " |
 
| Column1
 
| class="  " | Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | 03-20-2008
 
| class="sshl_f" | 99.984362
 
| class="                                                                                                      " |
 
|
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" | 05-18-2008
 
| class="                                                                                                                                                                                        sshl_f  " |
 
|
 
|
 
|- class="odd"
 
| Row3
 
| class="sshl_f" | 12-12-2007
 
|
 
|
 
|
 
|- class="even"
 
| Row4
 
| class="sshl_f" | 6%
 
|
 
|
 
|
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f" | 6%
 
|
 
| class="SelectTD  SelectTD" |
 
|
 
|- class="even"
 
| Row6
 
| class="sshl_f" | 0
 
|
 
|
 
|
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
*[[ 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