Difference between revisions of "Manuals/calci/DISC"

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">DISC(settle, M, P, R, basis)</font>'''</font></f...")
 
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left"> <font color="#000000"><font face="Arial, sans-serif">'''<font size="2">DISC(settle, M, P, R, basis)</font>'''</font></font>
+
<div style="font-size:30px">'''DISC (SettlementDate,MaturityDate,Price,RedemptionValue,Basis)'''</div><br/>
 +
where,
 +
*<math>SettlementDate</math> is the security's settlement date (a date when coupon or a bond is purchased)
 +
*<math>MaturityDate</math> is the security's maturity date (a date when coupon or a bond expires)
 +
*<math>Price</math> is the security's price per $100 face value
 +
*<math>RedemptionValue</math> is the amount to be received at maturity of a bond
 +
*<math>Basis</math> is the type of day count basis to use
 +
**DISC(), returns the discount rate for a security.
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">Where 'settle' is the security's settlement date, 'M' is the security's maturity date, 'P' is the security's price, 'R' is the security's redemption value, and 'basis' is the type of day count basis to use.</font></font></font>
+
== Description ==
 +
DISC(SettlementDate, MaturityDate, Price, RedemptionValue, Basis)
  
</div>
+
*<math>SettlementDate</math> and <math>MaturityDate</math> 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> &gt;= <math>MaturityDate</math>, Calci displays #N/A error message.
<div id="1SpaceContent" class="zcontent" align="left"> <font color="#000000"><font face="Arial, sans-serif"><font size="2">This function calculates the discount rate for a security.</font></font></font></div>
+
*If <math>Price</math> &lt;=0 or <math>RedemptionValue</math> &lt;=0, Calci displays #N/A error message.
----
+
*<math>Basis</math> value is optional. If omitted, Calci assumes it to be 0.
<div id="7SpaceContent" class="zcontent" align="left"> 
+
Below table shows the use of <math>Basis</math> values:
  
* <font color="#000000"><font face="Arial, sans-serif"><font size="2">DISC calculates the error value when settlement or maturity is not a valid or settlement ≥ maturity.</font></font></font>
+
{| class="wikitable"
 +
|-
 +
! Basis !! Description
 +
|-
 +
| 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">'P' and 'R' must be grater than or equal to zero. </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 value should between 0 and 4.</font></font></font>
+
*Formula:
* <font color="#000000"><font face="Arial, sans-serif"><font size="2">DISC is calculated as follows: </font></font></font>
+
If 'B' is number of days in a year, and 'DIM' is number of days from 'Settlement' to '
 +
Maturity', the DISC is calculated as -
  
<font color="#000000"></font>
+
DISC = <math>\frac{(Redemption-Price)}{Redemption} X \frac{B}{DIM}</math>
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">where:</font></font></font>
+
== Examples ==
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2"></font></font></font>
+
Consider the following example that shows the use of DISC function:
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">B = number of days in a year, depending on the year basis.</font></font></font>
+
<div id="2SpaceContent" class="zcontent" align="left">
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">DSM = number of days between settlement and maturity.</font></font></font>
+
{| id="TABLE3" class="SpreadSheet blue"
 +
|- class="even"
 +
| class="sshl_f" | 06/09/2010
 +
| class=" " |
 +
| class=" " |
  
<br /><br />
+
|- class="odd"
 +
| class="sshl_f" | 11/19/2010
 +
| class=" " |
 +
| class=" " |
  
</div>
+
|- class="even"
----
+
| class="sshl_f" | 97.975
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
+
| class=" " |
 +
| class=" " |
  
DISC
+
|- class="odd"
 +
| class="sshl_f" | 100
 +
| class=" " |
 +
| class=" " |
  
</div></div>
+
|- class="even"
----
+
| class="sshl_f" | 1
<div id="8SpaceContent" class="zcontent" align="left"
+
| class=" " |
 +
| class=" " |
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">'''Lets see an example,'''</font></font></font>
+
|- class="odd"
 +
| class="sshl_f" |
 +
| class=" " |
 +
| class=" " |
 +
 
 +
|}
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">DISC(settle, M, P, R, basis)</font></font></font>
+
=DISC(A1,A2,A3,A4,A5) displays ''0.045345092024540005'' as a result.
 +
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">'''B'''</font></font></font>
+
==Related Videos==
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">June 9, 2010</font></font></font>
+
{{#ev:youtube|v=3dP-8EFalfU|280|center|DISC}}
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">November 19, 2010</font></font></font>
+
== See Also ==
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">97.975</font></font></font>
+
*[[Manuals/calci/INTRATE | INTRATE]]
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">100</font></font></font>
+
== References ==
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">1</font></font></font>
+
*[http://en.wikipedia.org/wiki/Annual_effective_discount_rate Annual Discount Rate]
 +
*[http://en.wikipedia.org/wiki/Day_count_convention Day Count Basis]
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2"><nowiki>=DISC(B2,B3,B4,B5,B6) is 0.0456</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="      " |
 
<div id="2Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" title="Click and Drag over to AutoFill other cells."></div>Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | June 9, 2010
 
| class="                                                                                                      sshl_f  " |
 
|
 
|
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" | November 19, 2010
 
|
 
|
 
|
 
|- class="odd"
 
| Row3
 
| class="sshl_f" | 97.975
 
|
 
|
 
|
 
|- class="even"
 
| Row4
 
| class="sshl_f" | 100
 
|
 
|
 
|
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f" | 1
 
|
 
|
 
|
 
|- class="even"
 
| Row6
 
| class="sshl_f" | 0.045563
 
|
 
|
 
| class="SelectTD  SelectTD" |
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
*[[ Z3 |   Z3 home ]]
----
 
<div id="9SpaceContent" class="zcontent" align="left"><div>[[Image:16.JPG|100%px|http://store.zcubes.com/33975CA25A304262905E768B19753F5D/Uploaded/16.JPG]]</div></div>
 
----
 

Latest revision as of 15:51, 15 November 2018

DISC (SettlementDate,MaturityDate,Price,RedemptionValue,Basis)


where,

  • is the security's settlement date (a date when coupon or a bond is purchased)
  • is the security's maturity date (a date when coupon or a bond expires)
  • is the security's price per $100 face value
  • is the amount to be received at maturity of a bond
  • is the type of day count basis to use
    • DISC(), returns the discount rate for a security.

Description

DISC(SettlementDate, MaturityDate, Price, RedemptionValue, Basis)

  • and 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.
  • If <=0 or <=0, 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.
  • Formula:

If 'B' is number of days in a year, and 'DIM' is number of days from 'Settlement' to ' Maturity', the DISC is calculated as -

DISC =

Examples

Consider the following example that shows the use of DISC function:

06/09/2010
11/19/2010
97.975
100
1
=DISC(A1,A2,A3,A4,A5) displays 0.045345092024540005 as a result.

Related Videos

DISC

See Also

References