Difference between revisions of "Manuals/calci/PRICEMAT"

From ZCubes Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 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 <math>settlement</math> 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),  
*<math>maturity</math> 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),
*<math>issue</math> 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),  
*<math>rate</math> is security's interest rate,  
+
*<math>Rate</math> is security's interest rate,  
*<math>yield</math> is security's annual yield,
+
*<math>YieldPercent</math> is security's annual yield,
*<math>basis</math> 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.
 
*The function returns the price per &#36;100 face value of security, that pays interest at maturity.
*<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.
+
*<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>settlement</math> date ≥ <math>maturity</math> date, Calci displays #N/A error message.
+
*If <math>SettlementDate</math> ≥ <math>MaturityDate</math> , 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.
+
*<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.  
+
*<math>Basis</math> value is optional. If omitted, Calci assumes it to be 0.  
Below table shows the use of <math>basis</math> values:
+
Below table shows the use of <math>Basis</math> values:
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 36: Line 34:
 
|}
 
|}
  
*If <math>basis</math> 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 75: Line 73:
 
==Related Videos==
 
==Related Videos==
  
{{#ev:youtube|jom5A3vNfMk|280|center|PRICEMAT}}
+
{{#ev:youtube|v=m_ahBi3n0Dk|280|center|PRICEMAT}}
  
 
== See Also ==
 
== See Also ==
Line 86: 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