Difference between revisions of "Documentation/How Tos/Calc: ODDFYIELD function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(14 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE: ODDFYIELD function}} |
+ | {{Documentation/CalcFunc FinancialTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_ODDFPRICE_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_ODDLPRICE_function | ||
+ | }}__NOTOC__ | ||
== ODDFYIELD == | == ODDFYIELD == | ||
Line 5: | Line 10: | ||
=== Syntax: === | === Syntax: === | ||
− | <tt>''' | + | <tt>'''ODDFYIELD(settlementdate; maturitydate; issuedate; firstinterestdate; rate; price; redemptionvalue; frequency; basis)'''</tt> |
: <tt>'''settlementdate'''</tt>: the settlement (purchase) date of the security. | : <tt>'''settlementdate'''</tt>: the settlement (purchase) date of the security. | ||
: <tt>'''maturitydate'''</tt>: the maturity date of the security. | : <tt>'''maturitydate'''</tt>: the maturity date of the security. | ||
Line 21: | Line 26: | ||
:: 4 - European method, 12 months of 30 days each | :: 4 - European method, 12 months of 30 days each | ||
− | : : '''This function currently returns invalid results.''' | + | :: '''This function currently returns invalid results.''' |
=== Example: === | === Example: === | ||
Line 27: | Line 32: | ||
: Calc incorrectly returns an error. | : Calc incorrectly returns an error. | ||
− | === | + | === Issues: === |
− | + | * '''This function currently returns invalid results.''' See {{bug|92177}}. | |
− | + | ||
− | + | ||
− | [[Documentation/How_Tos/Calc: | + | {{SeeAlso|EN| |
+ | * [[Documentation/How_Tos/Calc: ODDFPRICE function|ODDFPRICE]] | ||
+ | * [[Documentation/How_Tos/Calc: ODDLPRICE function|ODDLPRICE]] | ||
+ | * [[Documentation/How_Tos/Calc: ODDLYIELD function|ODDLYIELD]] | ||
− | [[Documentation/How_Tos/Calc: Financial | + | * [[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: Functions listed alphabetically|Functions listed alphabetically]] | ||
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Financial functions]] |
Latest revision as of 11:21, 31 January 2024
- Financial FunctionsDepreciation
- AMORDEGRCAMORLINCDBDDBSLNSYDVDBPayment Streams, Annuities, Loans
- CUMIPMTCUMIPMT_ADDCUMPRINCCUMPRINC ADDFVFVSCHEDULEIPMTIRRISPMTMIRRNPERNPVPMTPPMTPVRATERRIXIRRXNPVSecurities
- ACCRINTACCRINTMDISCDURATIONDURATION ADDEFFECTIVEEFFECT ADDINTRATEMDURATIONNOMINALNOMINAL ADDODDFPRICEODDFYIELDODDLPRICEODDLYIELDCoupons
- COUPDAYBSCOUPDAYSCOUPDAYSNCCOUPNCDCOUPNUM
ODDFYIELD
Returns the yield of a security, where the time to the first interest payment is not a whole period.
Syntax:
ODDFYIELD(settlementdate; maturitydate; issuedate; firstinterestdate; rate; price; redemptionvalue; frequency; basis)
- settlementdate: the settlement (purchase) date of the security.
- maturitydate: the maturity date of the security.
- issuedate: the issue date of the security.
- firstinterestdate: the date on which the security first pays interest.
- rate: the interest rate of the security.
- price: the price of the security.
- redemptionvalue: the redemption value of the security per 100 currency units of face value.
- frequency: number of interest payments per year (1, 2 or 4).
- basis: is the calendar system to use. Defaults to 0 if omitted.
- 0 - US method (NASD), 12 months of 30 days each
- 1 - Actual number of days in months, actual number of days in year
- 2 - Actual number of days in month, year has 360 days
- 3 - Actual number of days in month, year has 365 days
- 4 - European method, 12 months of 30 days each
- This function currently returns invalid results.
Example:
ODDFYIELD("1990-06-01"; "1995-12-31"; "1990-01-01"; "1990-12-31"; 6%; 790; 100; 1; 1)
- Calc incorrectly returns an error.
Issues:
- This function currently returns invalid results. See Issue 92177 .
See Also
-