Difference between revisions of "Manuals/calci/TBILLYIELD"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''TBILLYIELD'''(SettlementDate, MaturityDate, Price) where, '''SettlementDate '''- represents the Treasury b...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
=TBILLYIELD(SettlementDate, MaturityDate, Price)=
  
'''TBILLYIELD'''(SettlementDate, MaturityDate, Price)
+
where,
 +
*<math>SettlementDate</math> is the Treasury Bill's settlement date (a date when the Treasury Bill is purchased)
 +
*<math>MaturityDate</math> is the Treasury Bill's maturity date (a date when the Treasury Bill expires)
 +
*<math>Price</math> is the Treasury Bill's price per $100 face value.
  
where,
+
TBILLYIELD() calculates the yield for a Treasury Bill.
  
'''SettlementDate '''- represents the Treasury bill's settlement date.
+
== Description ==
 +
TBILLYIELD(SettlementDate, MaturityDate, Price)
  
'''MaturityDate''' - represents the Treasury bill's maturity 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.
 +
*<math>MaturityDate</math> should not be more than one year than that of <math>SettlementDate</math>. Else, Calci displays #N/A error message.
 +
*If <math>Price</math> &lt;=0, Calci displays #N/A error message.
 +
*Formula:
 +
If 'N' is number of days from 'Settlement' to 'Maturity', then TBILLYIELD is calculated as -
  
'''Price '''- represents the Treasury bill's price per $100 face value.
+
<math>TBILLYIELD = \frac{(100 - Price)}{Price} * \frac{360}{N}</math>
  
</div>
+
== Examples ==
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
  
It returns the yield for a Treasury bill.
+
Consider the following example that shows the use of TBILLYIELD function:
  
'''Formula''' :-
 
 
TBILLYIELD = ((100-Price)/Price) X (360 x N)
 
 
where,
 
 
N - Number of days between settlement an maturity date.
 
 
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
If SettlementDate &gt;= MaturityDate, TBILLYIELD returns the #ERROR.
 
 
If Price &lt;= 0, it returns the #ERROR.
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
TBILLYIELD
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
Lets see an example in (Column1, Row1)
 
 
<nowiki>=TBILLYIELD(DATE(2008,1,1),DATE(2008,2,20),55.85)</nowiki>
 
 
TBILLYIELD returns 5.691674.
 
 
Consider an another example
 
 
<nowiki>=TBILLYIELD(DATE(DATE(2007/4/1),DATE(2008,5,1),-4)</nowiki>
 
 
It returns #ERROR(Price =-4).
 
 
</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">
 
<div id="2SpaceContent" class="zcontent" align="left">
  
 
{| id="TABLE3" class="SpreadSheet blue"
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
 +
| class="sshl_f" |
 
| class=" " |
 
| class=" " |
| Column1
+
| class=" " |
| Column2
+
 
| Column3
 
| Column4
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row1
+
| class="sshl_f" |  
| class="sshl_f" | 5.691674
+
| class=" " |
|
+
| class=" " |
|
+
 
|
 
 
|- class="even"
 
|- class="even"
| class=" " | Row2
+
| class="sshl_f" |  
| class="sshl_f      SelectTD ChangeBGColor SelectTD" |
+
| class=" " |
<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>
+
| class=" " |
|
+
 
|
 
|
 
 
|- class="odd"
 
|- class="odd"
| Row3
+
| class="sshl_f" |  
| class="sshl_f       " |
+
| class=" " |
|
+
| class=" " |
|
 
|
 
|- class="even"
 
| Row4
 
| class="sshl_f    " |
 
|
 
|
 
|
 
|- class="odd"
 
| class=" " | Row5
 
|
 
|
 
|
 
|
 
|- class="even"
 
| Row6
 
|
 
|
 
|
 
|
 
 
|}
 
|}
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
<font color ="Red">Need to add examples after next release</font>
----
+
 
 +
== See Also ==
 +
 
 +
*[[Manuals/calci/TBILLEQ | TBILLEQ]]
 +
*[[Manuals/calci/TBILLPRICE | TBILLPRICE]]
 +
 
 +
== References ==
 +
 
 +
*[http://en.wikipedia.org/wiki/Treasury_bill#Treasury_bill Treasury Bill]

Revision as of 16:29, 28 February 2014

TBILLYIELD(SettlementDate, MaturityDate, Price)

where,

  • is the Treasury Bill's settlement date (a date when the Treasury Bill is purchased)
  • is the Treasury Bill's maturity date (a date when the Treasury Bill expires)
  • is the Treasury Bill's price per $100 face value.

TBILLYIELD() calculates the yield for a Treasury Bill.

Description

TBILLYIELD(SettlementDate, MaturityDate, Price)

  • 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.
  • should not be more than one year than that of . Else, Calci displays #N/A error message.
  • If <=0, Calci displays #N/A error message.
  • Formula:

If 'N' is number of days from 'Settlement' to 'Maturity', then TBILLYIELD is calculated as -

Examples

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

Need to add examples after next release

See Also

References