Difference between revisions of "Documentation/How Tos/Calc: TBILLYIELD function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
m (Robot: Automated text replacement %s)
Line 26: Line 26:
 
:  returns approximately <tt>'''0.0829'''</tt>, or <tt>'''8.29%'''</tt>.
 
:  returns approximately <tt>'''0.0829'''</tt>, or <tt>'''8.29%'''</tt>.
  
=== See also: ===
+
{{Documentation/SeeAlso|
[[Documentation/How_Tos/Calc: TBILLEQ function|'''TBILLEQ''']],
+
* [[Documentation/How_Tos/Calc: TBILLEQ function|TBILLEQ]],
[[Documentation/How_Tos/Calc: TBILLPRICE function|'''TBILLPRICE''']]
+
* [[Documentation/How_Tos/Calc: TBILLPRICE function|TBILLPRICE]]
  
[[Documentation/How_Tos/Calc: Date & Time functions#Financial date systems|'''Financial date systems''']]
+
* [[Documentation/How_Tos/Calc: Date & Time functions#Financial date systems|Financial date systems]]
  
[[Documentation/How_Tos/Calc: Financial functions|'''Financial functions''']]
+
* [[Documentation/How_Tos/Calc: Financial functions|Financial functions]]
  
[[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']],
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
  
 
=== Issues: ===
 
=== Issues: ===
 
* This function may assist with US Treasury bills if used carefully. The underlying formula may not apply to Treasury bills issued by other governments.
 
* This function may assist with US Treasury bills if used carefully. The underlying formula may not apply to Treasury bills issued by other governments.

Revision as of 14:22, 25 February 2009


TBILLYIELD

Returns the yield for a US Treasury bill.

Syntax:

TBILLYIELD(settlementdate; maturitydate; issueprice)

settlementdate: the settlement (purchase) date of the Treasury bill.
maturitydate: the maturity (redemption) date of the Treasury bill.
issueprice: the issue price of the Treasury bill per $100 of par value.
A Treasury bill is a short term (up to a year) Government security, sold at a discount to its par value (face value). It pays no interest and is redeemed at par value.
The Treasury bill here has a 360 day year basis.
The yield is calculated as:
( (100 - issueprice) / issueprice ) * (360 / number_of_days_in_the_term)
where number_of_days_in_the_term are the actual number of days between settlementdate and maturitydate.


An error results if the term given is not less than one year.

Example:

TBILLYIELD("2008-07-14"; "2009-01-14"; 96)

returns approximately 0.0829, or 8.29%.

Template:Documentation/SeeAlso

Issues:

  • This function may assist with US Treasury bills if used carefully. The underlying formula may not apply to Treasury bills issued by other governments.
Personal tools