Difference between revisions of "Manuals/calci/PRICEDISC"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
=PRICEDISC(settlement, maturity, discount, redemption, basis)=
+
<div style="font-size:30px">'''PRICEDISC (SettlementDate,MaturityDate,DiscountRate,RedemptionValue,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>discount</math> is security's discount rate,
+
*<math>DiscountRate</math> is security's discount rate,
*<math>redemption</math> is security's redemption value per &#36;100 face value, and
+
*<math>RedemptionValue</math> is security's redemption value per &#36;100 face value, and
*<math>basis</math> is the type of day count basis to use.
+
*<math>Basis</math> is the type of day count basis to use.
  
PRICEDISC() calculates the price of a discounted security per &#36;100 face value.
+
PRICEDISC(), returns the price per $100 face value of a discounted security.
  
 
== Description ==
 
== Description ==
  
PRICEDISC(settlement, maturity, discount, redemption, basis)
+
PRICEDISC (SettlementDate,MaturityDate,DiscountRate,RedemptionValue,Basis)
  
 
*The function returns the price of a discounted security per &#36;100 face value.  
 
*The function returns the price of a discounted security per &#36;100 face value.  
 
*PRICEDISC is calculated by subtracting discounted amount from redemption value.
 
*PRICEDISC is calculated by subtracting discounted amount from redemption value.
*<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>SettlementDate</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.
*If <math>settlement</math> date ≥ <math>maturity</math> date, Calci displays #N/A error message.
+
*If <math>SettlementDate</math> date ≥ <math>maturity</math> date, Calci displays #N/A error message.
*<math>discount</math> value must be greater than or equal to zero, else calci displays #N/A error message.  
+
*<math>DiscountRate</math> value 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.
*<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:
  
Line 37: Line 37:
 
|}
 
|}
  
*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 ==
Line 43: Line 43:
 
<div id="2SpaceContent" class="zcontent" align="left">
 
<div id="2SpaceContent" class="zcontent" align="left">
  
PRICEDISC(settlement, maturity, discount, redemption, basis) function with inputs in order is calculated as follows:
+
PRICEDISC (SettlementDate,MaturityDate,DiscountRate,RedemptionValue,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 16:24, 30 July 2018

PRICEDISC (SettlementDate,MaturityDate,DiscountRate,RedemptionValue,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 SettlementDate} is the 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 DiscountRate} is security's discount 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 RedemptionValue} is security's redemption value per $100 face value, 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.

PRICEDISC(), returns the price per $100 face value of a discounted security.

Description

PRICEDISC (SettlementDate,MaturityDate,DiscountRate,RedemptionValue,Basis)

  • The function returns the price of a discounted security per $100 face value.
  • PRICEDISC is calculated by subtracting discounted amount from redemption 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 SettlementDate} 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 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.
  • 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 SettlementDate} 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 maturity} date, Calci displays #N/A error message.
  • value 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.
  • 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

PRICEDISC (SettlementDate,MaturityDate,DiscountRate,RedemptionValue,Basis) function with inputs in order is calculated as follows:

2/2/2008
11/2/2016
5%
100
1
=PRICEDISC(A1,A2,A3,A4,A5) : Calculates the Discounted Price Value with the inputs in the range A1 to A5. Returns 56.33879781420765.

Related Videos

PRICEDISC

See Also

References