Difference between revisions of "Manuals/calci/PRICE"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
=PRICE(settlement, maturity, rate, yield, redemption, frequency, basis)=
+
<div style="font-size:30px">'''PRICE (Settlement,MaturityDate,Rate,Yield,RedemptionValue,Frequency,Basis)'''</div><br/>
 +
*where <math>Settlement</math> is 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>Rate</math> is security's annual coupon rate,  
 +
*<math>Yield</math> is security's annual yield,
 +
*<math>RedemptionValue</math> is security's redemption value per &#36;100 face value,
 +
*<math>Frequency</math> is the number of coupon payments per year, and
 +
*<math>Basis</math> is the type of day count basis to use.
  
*where <math>settlement</math> is security's settlement date (a date when coupon or a bond is purchased),  
+
PRICE(), returns the price per $100 face value of a security that pays periodic interest.
*<math>maturity</math> is security's maturity date (a date when coupon or a bond expires),
 
*<math>rate</math> is security's annual coupon rate,
 
*<math>yield</math> is security's annual yield,
 
*<math>redemption</math> is security's redemption value per &#36;100 face value,
 
*<math>frequency</math> is the number of coupon payments per year, and
 
*<math>basis</math> is the type of day count basis to use.
 
 
 
PRICE() calculates the price per &#36;100 face value of security that pays periodic interest.
 
  
 
== Description ==
 
== Description ==
  
PRICE(settlement, maturity, rate, yield, redemption, frequency, basis)
+
PRICE(Settlement,MaturityDate,Rate,Yield,RedemptionValue,Frequency,Basis)
  
 
*The function returns the price per &#36;100 face value of security that pays periodic interest.
 
*The function returns the price per &#36;100 face value of security that pays periodic interest.
*<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.
+
*<math>settlement</math> and <math>MaturityDate</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>Settlement</math> date ≥ <math>MaturityDate</math> date, 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>yield</math> values must be greater than or equal to zero, else Calci displays #N/A error message.
*<math>redemption</math> value must be greater than zero, else Calci displays #N/A error message.
+
*<math>RedemptionValue</math> value must be greater than zero, else Calci displays #N/A error message.
*The values for <math>frequency</math> should be 1,2 or 4.  
+
*The values for <math>Frequency</math> should be 1,2 or 4.  
For Annual payment, <math>frequency</math> = 1,
+
For Annual payment, <math>Frequency</math> = 1,
  
For Semi-annual payment, <math>frequency</math> = 2,
+
For Semi-annual payment, <math>Frequency</math> = 2,
  
For Quarterly payment, <math>frequency</math> = 4.
+
For Quarterly payment, <math>Frequency</math> = 4.
  
*<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 45: Line 44:
 
|}
 
|}
  
*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 ==
  
PRICE(settlement, maturity, rate, yield, redemption, frequency, basis) function with inputs in order is calculated as follows:
+
PRICE (Settlement,MaturityDate,Rate,Yield,RedemptionValue,Frequency,Basis) function with inputs in order is calculated as follows:
  
 
<div id="2SpaceContent" class="zcontent" align="left">
 
<div id="2SpaceContent" class="zcontent" align="left">

Revision as of 14:43, 2 July 2018

PRICE (Settlement,MaturityDate,Rate,Yield,RedemptionValue,Frequency,Basis)


  • where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Settlement} is security's settlement date (a date when coupon or a bond is purchased),
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle MaturityDate} is security's maturity date (a date when coupon or a bond expires),
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Rate} is security's annual coupon rate,
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Yield} is security's annual yield,
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle RedemptionValue} is security's redemption value per $100 face value,
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Frequency} is the number of coupon payments per year, and
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Basis} is the type of day count basis to use.

PRICE(), returns the price per $100 face value of a security that pays periodic interest.

Description

PRICE(Settlement,MaturityDate,Rate,Yield,RedemptionValue,Frequency,Basis)

  • The function returns the price per $100 face value of security that pays periodic interest.
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle settlement} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle MaturityDate} 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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Settlement} date ≥ Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle MaturityDate} date, Calci displays #N/A error message.
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Rate} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle yield} values must be greater than or equal to zero, else Calci displays #N/A error message.
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle RedemptionValue} value must be greater than zero, else Calci displays #N/A error message.
  • The values for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Frequency} should be 1,2 or 4.

For Annual payment, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Frequency} = 1,

For Semi-annual payment, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Frequency} = 2,

For Quarterly payment, = 4.

  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Basis} value is optional. If omitted, Calci assumes it to be 0.

Below table shows the use of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Basis} values:

Basis Description
0 US (NASD) 30/360
1 Actual/actual
2 Actual/360
3 Actual/365
4 European 30/365
  • If Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Basis} value is other than 0 to 4, Calci displays #N/A error message.

Examples

PRICE (Settlement,MaturityDate,Rate,Yield,RedemptionValue,Frequency,Basis) function with inputs in order is calculated as follows:

2/2/2008
11/2/2016
5%
8%
100
2
0
=PRICE(A1,A2,A3,A4,A5,A6,A7) : Calculates the Price Value with the inputs in the range A1 to A7. Returns 81.36538958112115.

Related Videos

PRICE

See Also

References