mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 20:10:25 +08:00
101 lines
5.0 KiB
HTML
101 lines
5.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>ODDFPRICE Function</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="description" content="" />
|
|
<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
|
|
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
|
|
<script type="text/javascript" src="../callback.js"></script>
|
|
<script type="text/javascript" src="../../../../../../common/main/resources/help/search/js/page-search.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="mainpart">
|
|
<div class="search-field">
|
|
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
|
|
</div>
|
|
<h1>ODDFPRICE Function</h1>
|
|
<p>The <b>ODDFPRICE</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#financial" onclick="onhyperlinkclick(this)">financial functions</a>. It is used to calculate the price per $100 par value for a security that pays periodic interest but has an odd first period (it is shorter or longer than other periods).</p>
|
|
<h3>Syntax</h3>
|
|
<p><b><em>ODDFPRICE(settlement, maturity, issue, first_coupon, rate, yld, redemption, frequency, [basis])</em></b></p>
|
|
<p>The <b>ODDFPRICE</b> function has the following arguments:</p>
|
|
<table style="width: 40%">
|
|
<tr>
|
|
<th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
|
|
<th style="background-color: #f4f4f4"><b>Description</b></th>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>settlement</em></b></td>
|
|
<td>The date when the security is purchased.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>maturity</em></b></td>
|
|
<td>The date when the security expires.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>issue</em></b></td>
|
|
<td>The issue date of the security.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>first_coupon</em></b></td>
|
|
<td>The first coupon date. This date must be after the settlement date but before the maturity date.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>rate</em></b></td>
|
|
<td>The security interest rate.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>yld</em></b></td>
|
|
<td>The annual yield of the security.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>redemption</em></b></td>
|
|
<td>The redemption value of the security, per $100 par value.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>frequency</em></b></td>
|
|
<td>The number of interest payments per year. The possible values are: 1 for annual payments, 2 for semiannual payments, 4 for quarterly payments.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>basis</em></b></td>
|
|
<td>The day count basis to use, a numeric value greater than or equal to 0, but less than or equal to 4. It is an optional argument. The possible values are listed in the table below.</td>
|
|
</tr>
|
|
</table>
|
|
<p>The <b><em>basis</em></b> argument can be one of the following:</p>
|
|
<table style="width: 40%">
|
|
<tr>
|
|
<th style="background-color: #f4f4f4"><b>Numeric value</b></th>
|
|
<th style="background-color: #f4f4f4"><b>Count basis</b></th>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>0</em></b></td>
|
|
<td>US (NASD) 30/360</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>1</em></b></td>
|
|
<td>Actual/actual</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>2</em></b></td>
|
|
<td>Actual/360</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>3</em></b></td>
|
|
<td>Actual/365</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>4</em></b></td>
|
|
<td>European 30/360</td>
|
|
</tr>
|
|
</table>
|
|
<h3>Notes</h3>
|
|
<p>Dates must be entered by using the <a href="Date.htm" onclick="onhyperlinkclick(this)">DATE</a> function.</p>
|
|
|
|
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>ODDFPRICE</b> function.</p>
|
|
|
|
<h3>Examples</h3>
|
|
<p>The figure below displays the result returned by the <b>ODDFPRICE</b> function.</p>
|
|
<p><img alt="ODDFPRICE Function" src="../images/oddfprice.png" /></p>
|
|
</div>
|
|
</body>
|
|
</html> |