Difference between revisions of "Manuals/calci/PRICEDISC"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''PRICEDISC'''(SettlementDate, MaturityDate, Discount, Redemption, Basis) where, '''SettlementDate''' - repr...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
=PRICEDISC(settlement, maturity, discount, redemption, basis)=
  
'''PRICEDISC'''(SettlementDate, MaturityDate, Discount, Redemption, Basis)
+
*where 'settlement' is the security's settlement date (a date when coupon or a bond is purchased),
 +
*'maturity' is security's maturity date (a date when coupon or a bond expires),  
 +
*'discount' is security's discount rate,
 +
*'redemption' is security's redemption value per &#36;100 face value, and
 +
*'basis' is the type of day count basis to use.
  
where,
+
PRICEDISC() calculates the price of a discounted security per &#36;100 face value.
  
'''SettlementDate''' - represents the settlement date.
+
== Description ==
  
'''MaturityDate''' - represents the maturity date.
+
PRICEDISC(settlement, maturity, discount, redemption, basis)
  
'''Discount''' - represents the discount rate.
+
*The function returns the price of a discounted security per &#36;100 face value.
 +
*PRICEDISC is calculated by subtracting discounted amount from redemption value.
 +
*Settlement and 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 settlement date ≥ maturity date, Calci displays #N/A error message.
 +
*'discount' and 'redemption' values must be greater than zero, else Calci displays #N/A error message.
 +
*'basis' value is optional. If omitted, Calci assumes it to be 0.
 +
Below table shows the use of 'basis' values:
  
'''Redemption''' - represents the redemption value per $100 face value.
+
{| class="wikitable"
 +
|-
 +
! Basis !! Description
 +
|-
 +
| 0 || US (NASD) 30/360
 +
|-
 +
| 1 || Actual/actual
 +
|-
 +
| 2 || Actual/360
 +
|-
 +
| 3 || Actual/365
 +
|-
 +
| 4 || European 30/365
 +
|}
  
'''Basis''' - type of day count basis
+
*If 'basis' value is other than 0 to 4, Calci displays #N/A error message.
  
'''Basis              Day count basis'''
+
== Examples ==
  
0 or omitted    US 30/360
+
<div id="2SpaceContent" class="zcontent" align="left">
  
1                     Actual/actual
+
PRICEDISC(settlement, maturity, discount, redemption, basis) function with inputs in order is calculated as follows:
  
2                     Actual/360
+
<div id="2SpaceContent" class="zcontent" align="left">
  
3                     Actual/365
+
{| id="TABLE3" class="SpreadSheet blue"
 +
|- class="even"
 +
| class="sshl_f" | 2/2/2008
 +
| class="sshl_f" |
  
4                     European 30/360
+
|- class="odd"
 +
| class="sshl_f" | 11/2/2016
 +
| class="sshl_f" |
  
</div>
+
|- class="even"
----
+
| class="sshl_f" | 5%
<div id="1SpaceContent" class="zcontent" align="left">
+
| class="sshl_f" |
  
It returns the price per $100 face value of a discounted.
+
|- class="odd"
 +
| class="sshl_f" | $100
 +
| class="sshl_f" |
  
'''Formula''':-
+
|- class="even"
 +
| class="sshl_f" | 1
 +
| class="sshl_f" |
  
PRICEDISC =(Redemption-Discount )x Redemption x (D/N)
+
|}
  
where,
+
=PRICE(A1,A2,A3,A4,A5) : Calculates the Discounted Price Value with the inputs in the range A1 to A5. Returns ''''.
  
D - number of days from settlement to maturity.
+
== See Also ==
  
N - number of days in year
+
*[[Manuals/calci/PRICE | PRICE]]
 +
*[[Manuals/calci/PRICEMAT | PRICEMAT]]
  
</div>
+
== References ==
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
 
If Basis &lt; 0 or Basis &gt; 4 , PRICEDISC returns the #ERROR.
 
 
 
If Discount &lt;= 0, it returns the #ERROR.
 
 
 
If SettlementDate &gt;= MaturityDate, PRICEDISC returns #ERRROR.
 
 
 
If Redemption &lt;= 0, PRICEDISC returns the #ERROR.
 
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
PRICEDISC
 
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
 
Lets see an example in (Column2, Row6)
 
 
 
<nowiki>=PRICEDISC(R1C1, R2C1, R3C1, R4C1, R5C1)</nowiki>
 
 
 
PRICEDISC returns 97.852841.
 
 
 
Consider another example
 
 
 
<nowiki>=PRICEDISC(date(1/1/2027),date(2/2/2008), "5%", 100,2)</nowiki>
 
 
 
It returns #ERROR(SettlementDate &gt; MaturityDate).
 
 
 
</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"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| class="sshl_f  " | Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class=" " | 2/2/2008
 
| class="sshl_f    " |
 
|
 
|
 
|- class="even"
 
| class="  " | Row2
 
| class=" " | 11/2/2008
 
| class="sshl_fSelectTD  SelectTD ChangeBGColor" |
 
|
 
|
 
|- class="odd"
 
| Row3
 
| class=" " | 5%
 
| class="  " |
 
| class="  " |
 
|
 
|- class="even"
 
| Row4
 
| class=" " | 100
 
|
 
|
 
|
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f " | 4
 
|
 
|
 
|
 
|- class="even"
 
| Row6
 
| class="sshl_f" | 96.263889
 
|
 
|
 
|
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
*[http://en.wikipedia.org/wiki/Bond_valuation Bond Valuation]
----
 

Revision as of 09:35, 9 December 2013

PRICEDISC(settlement, maturity, discount, redemption, basis)

  • where 'settlement' is the security's settlement date (a date when coupon or a bond is purchased),
  • 'maturity' is security's maturity date (a date when coupon or a bond expires),
  • 'discount' is security's discount rate,
  • 'redemption' is security's redemption value per $100 face value, and
  • 'basis' is the type of day count basis to use.

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

Description

PRICEDISC(settlement, maturity, discount, redemption, basis)

  • The function returns the price of a discounted security per $100 face value.
  • PRICEDISC is calculated by subtracting discounted amount from redemption value.
  • Settlement and 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 settlement date ≥ maturity date, Calci displays #N/A error message.
  • 'discount' and 'redemption' values must be greater than zero, else Calci displays #N/A error message.
  • 'basis' value is optional. If omitted, Calci assumes it to be 0.

Below table shows the use of 'basis' values:

Basis Description
0 US (NASD) 30/360
1 Actual/actual
2 Actual/360
3 Actual/365
4 European 30/365
  • If 'basis' value is other than 0 to 4, Calci displays #N/A error message.

Examples

PRICEDISC(settlement, maturity, discount, redemption, basis) function with inputs in order is calculated as follows:

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

See Also

References