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...")
 
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''TBILLYIELD (Settlement,Maturity,Price)'''</div><br/>
 +
where,
 +
*<math>Settlement</math> is the Treasury Bill's settlement date (a date when the Treasury Bill is purchased)
 +
*<math>Maturity</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.
 +
**TBILLYIELD() returns the yield for a Treasury bill.
  
'''TBILLYIELD'''(SettlementDate, MaturityDate, Price)
+
== Description ==
 +
TBILLYIELD (Settlement,Maturity,Price)
  
where,
+
*<math>Settlement</math> and <math>Maturity</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>Settlement</math> &gt;= <math>Maturity</math>, Calci displays #N/A error message.
 +
*<math>Maturity</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 -
  
'''SettlementDate '''- represents the Treasury bill's settlement date.
+
<math>TBILLYIELD = \frac{(100 - Price)}{Price} * \frac{360}{N}</math>
  
'''MaturityDate''' - represents the Treasury bill's maturity date.
+
== Examples ==
  
'''Price '''- represents the Treasury bill's price per $100 face value.
+
Consider the following example that shows the use of TBILLYIELD function:
  
</div>
+
<div id="2SpaceContent" class="zcontent" align="left">
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
  
It returns the yield for a Treasury bill.
+
{| id="TABLE3" class="SpreadSheet blue"
 +
|- class="even"
 +
| class="sshl_f" | 06/25/2014
 +
| class=" " |
 +
| class=" " |
  
'''Formula''' :-
+
|- class="odd"
 +
| class="sshl_f" | 10/25/2014
 +
| class=" " |
 +
| class=" " |
  
TBILLYIELD = ((100-Price)/Price) X (360 x N)
+
|- class="even"
 +
| class="sshl_f" | 97.5
 +
| class=" " |
 +
| class=" " |
  
where,
+
|- class="odd"
 
+
| class="sshl_f" |
N - Number of days between settlement an maturity date.
+
| class=" " |
 
+
| class=" " |
</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>
+
=TBILLYIELD(A1,A2,A3) : Calculates the yield for treasury bill with the input values from the cells A1 to A3. <br />Returns '''0.07566204287515763''' as a result.
----
+
=TBILLYIELD(DATE(2013,10,20),DATE(2014,6,20),93.9) : Calculates the yield for treasury bill <br />with the values mentioned as arguments. Returns '''0.09624107600678411''' as a result.
<div id="8SpaceContent" class="zcontent" align="left">
 
  
Lets see an example in (Column1, Row1)
+
==Related Videos==
  
<nowiki>=TBILLYIELD(DATE(2008,1,1),DATE(2008,2,20),55.85)</nowiki>
+
{{#ev:youtube|v=0CCcKeuXy60|280|center|TBILLYIELD}}
  
TBILLYIELD returns 5.691674.
+
== See Also ==
  
Consider an another example
+
*[[Manuals/calci/TBILLEQ | TBILLEQ]]
 +
*[[Manuals/calci/TBILLPRICE | TBILLPRICE]]
  
<nowiki>=TBILLYIELD(DATE(DATE(2007/4/1),DATE(2008,5,1),-4)</nowiki>
+
== References ==
  
It returns #ERROR(Price =-4).
+
*[http://en.wikipedia.org/wiki/Treasury_bill#Treasury_bill Treasury Bill]
  
</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
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | 5.691674
 
|
 
|
 
|
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f      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>
 
|
 
|
 
|
 
|- class="odd"
 
| Row3
 
| class="sshl_f        " |
 
|
 
|
 
|
 
|- class="even"
 
| Row4
 
| class="sshl_f    " |
 
|
 
|
 
|
 
|- class="odd"
 
| class=" " | Row5
 
|
 
|
 
|
 
|
 
|- class="even"
 
| Row6
 
|
 
|
 
|
 
|
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
*[[ Z3 |  Z3 home ]]
----
 

Latest revision as of 16:13, 16 November 2018

TBILLYIELD (Settlement,Maturity,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() returns the yield for a Treasury bill.

Description

TBILLYIELD (Settlement,Maturity,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:

06/25/2014
10/25/2014
97.5
=TBILLYIELD(A1,A2,A3) : Calculates the yield for treasury bill with the input values from the cells A1 to A3. 
Returns 0.07566204287515763 as a result. =TBILLYIELD(DATE(2013,10,20),DATE(2014,6,20),93.9) : Calculates the yield for treasury bill
with the values mentioned as arguments. Returns 0.09624107600678411 as a result.

Related Videos

TBILLYIELD

See Also

References