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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m
Line 25: Line 25:
 
<tt>'''TBILLPRICE("2008-07-14"; "2009-01-14"; 4%)'''</tt>
 
<tt>'''TBILLPRICE("2008-07-14"; "2009-01-14"; 4%)'''</tt>
 
:  returns approximately <tt>'''97.99'''</tt>.
 
:  returns approximately <tt>'''97.99'''</tt>.
 +
 +
=== 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.
  
 
{{Documentation/SeeAlso|
 
{{Documentation/SeeAlso|
Line 36: Line 39:
 
* [[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: ===
 
* 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 08:36, 3 March 2009


TBILLPRICE

Returns the issue price for a US Treasury bill, per $100 par value, given a discount rate.

Syntax:

TBILLPRICE(settlementdate; maturitydate; discountrate)

settlementdate: the settlement (purchase) date of the Treasury bill.
maturitydate: the maturity (redemption) date of the Treasury bill.
discountrate: the discount rate of the Treasury bill.
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 formula for TBILLPRICE is :
100 * ( 1 - (discountrate * number_of_days_in_the_term / 360) )
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:

TBILLPRICE("2008-07-14"; "2009-01-14"; 4%)

returns approximately 97.99.

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.

Template:Documentation/SeeAlso

Personal tools