Difference between revisions of "Manuals/calci/INTRATE"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''INTRATE'''(SettlementDate, MaturityDate, Investment,Redemption,Basis) where, '''SettlementDate''' - repres...")
 
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''INTRATE (SettlementDate,MaturityDate,Investment,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>Investment</math> is the amount invested in the security or a bond
 +
*<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
 +
**INTRATE(), returns the interest rate for a fully invested security.
  
'''INTRATE'''(SettlementDate, MaturityDate, Investment,Redemption,Basis)
+
== Description ==
  
where,
+
INTRATE(SettlementDate, MaturityDate, Investment,RedemptionValue, Basis)
  
'''SettlementDate''' - represents the settlement date.
+
*<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.
 +
*If <math>Investment</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.
 +
Below table shows the use of <math>Basis</math> values:
  
'''MaturityDate''' - represents the maturity date.
+
{| class="wikitable"
 +
|-
 +
! Basis !! Description
 +
|-
 +
| 0 || US (NASD) 30/360
 +
|-
 +
| 1 || Actual/actual
 +
|-
 +
| 2 || Actual/360
 +
|-
 +
| 3 || Actual/365
 +
|-
 +
| 4 || European 30/365
 +
|}
  
'''Investment''' - the amount to be invested.
+
*If <math>Basis</math> value is other than 0 to 4, Calci displays #N/A error message.
 +
*Formula:
 +
If 'B' is number of days in a year, and 'D' is number of days from 'settlement' to
 +
maturity', then INTRATE is calculated as -
  
'''Redemption''' - the amount to be received at maturity.
+
<math>INTRATE = \frac{(redemption-investment)}{investment} X \frac{B}{D}</math>
  
'''Basis''' - type of day count basis
+
== Examples ==
  
'''Basis              Day count basis'''
+
Consider the following example that shows the use of INTRATE function:
  
0 or omitted    US 30/360
+
<div id="2SpaceContent" class="zcontent" align="left">
  
1                     Actual/actual
+
{| id="TABLE3" class="SpreadSheet blue"
 +
|- class="even"
 +
| class="sshl_f" | 11/1/2010
 +
| class=" " |
 +
| class=" " |
  
2                     Actual/360
+
|- class="odd"
 +
| class="sshl_f" | 2/20/2011
 +
| class=" " |2/2/2014
 +
| class=" " |
  
3                     Actual/365
+
|- class="even"
 +
| class="sshl_f" | 500000
 +
| class=" " |7000
 +
| class=" " |
  
4                     European 30/360
+
|- class="odd"
 +
| class="sshl_f" | 800000
 +
| class=" " |9000
 +
| class=" " |
  
</div>
+
|- class="even"
----
+
| class="sshl_f" | 4
<div id="1SpaceContent" class="zcontent" align="left">
+
| class=" " |1
 +
| class=" " |
  
It returns the interest rate for a invested.
+
|- class="odd"
 +
| class="sshl_f" |
 +
| class=" " |
 +
| class=" " |
  
'''Formula''':-
+
|}
 
 
INTRATE =(Redemption-Investment)/Investment x( T/D)
 
 
 
where,
 
 
 
T - number of days in a year, according on the year basis.
 
 
 
D - number of days from settlement to maturity.
 
 
 
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
 
If Basis &lt; 0 or Basis &gt; 4 , INTRATE returns the #ERROR.
 
 
 
If Investment &lt;= 0 or Redemption &lt;= 0, it
 
 
 
returns the#ERROR.
 
  
If SettlementDate &gt;= MaturityDate, INTRATE returns #ERRROR.
+
=INTRATE(A1,A2,A3,A4,A5) displays ''1.981651376146789'' as a result.
 +
=INTRATE(DATE(2013,1,1),B2,B3,B4,B5) displays ''0.2622154311211943'' as a result.
  
</div>
+
==Related Videos==
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
  
INTRATE
+
{{#ev:youtube|I7FDx4DPapw|280|center|INT RATE}}
  
</div></div>
+
== See Also ==
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
  
Lets see an example in (Column1, Row6)
+
*[[Manuals/calci/RATE | RATE]]
  
<nowiki>=INTRATE(R1C1, R2C1, R3C1, R4C1, R5C1)</nowiki>
+
== References ==
  
INTRATE returns 1.981651.
+
*[http://en.wikipedia.org/wiki/Interest_rate_derivative Interest Rate Derivative]
 +
*[http://en.wikipedia.org/wiki/Day_count_convention Day Count Basis]
  
Consider another example
 
  
<nowiki>=INTRATE(date(1/1/2007),date(2/2/2008),5000,4000,5)</nowiki>
 
  
It returns #ERROR.
+
*[[Z_API_Functions | List of Main Z Functions]]
 
 
</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=" " |
 
| class="  " | Column1
 
| class=" SelectTD ChangeBGColor SelectTD" |
 
<div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]]  </div>Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class=" " | 11/1/2007
 
| 0
 
| 0
 
| 0
 
|- class="even"
 
| class="  " | Row2
 
| class=" " | 2/20/2008
 
| 0
 
| 0
 
| 0
 
|- class="odd"
 
| Row3
 
| class=" " | 500000
 
| 0
 
| 0
 
| 0
 
|- class="even"
 
| Row4
 
| class=" " | 800000
 
| 0
 
| 0
 
| 0
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f " | 4
 
| 0
 
| 0
 
| 0
 
|- class="even"
 
| Row6
 
| class="sshl_f" | 1.981651
 
| 0
 
| 0
 
| 0
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
*[[ Z3 |  Z3 home ]]
----
 

Latest revision as of 17:18, 22 August 2018

INTRATE (SettlementDate,MaturityDate,Investment,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 amount invested in the security or a bond
  • is the amount to be received at maturity of a bond
  • is the type of day count basis to use
    • INTRATE(), returns the interest rate for a fully invested security.

Description

INTRATE(SettlementDate, MaturityDate, Investment,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 'D' is number of days from 'settlement' to maturity', then INTRATE is calculated as -

Examples

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

11/1/2010
2/20/2011 2/2/2014
500000 7000
800000 9000
4 1
=INTRATE(A1,A2,A3,A4,A5) displays 1.981651376146789 as a result.
=INTRATE(DATE(2013,1,1),B2,B3,B4,B5) displays 0.2622154311211943 as a result.

Related Videos

INT RATE

See Also

References