Difference between revisions of "Manuals/calci/DISC"
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> <font color="#000000"><font face="Arial, sans-serif">'''<font size="2">DISC(settle, M, P, R, basis)</font>'''</font></f...") |
|||
| (8 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <div | + | <div style="font-size:30px">'''DISC (SettlementDate,MaturityDate,Price,RedemptionValue,Basis)'''</div><br/> |
| + | where, | ||
| + | *<math>SettlementDate</math> is the security's settlement date (a date when coupon or a bond is purchased) | ||
| + | *<math>MaturityDate</math> is the security's maturity date (a date when coupon or a bond expires) | ||
| + | *<math>Price</math> is the security's price per $100 face value | ||
| + | *<math>RedemptionValue</math> is the amount to be received at maturity of a bond | ||
| + | *<math>Basis</math> is the type of day count basis to use | ||
| + | **DISC(), returns the discount rate for a security. | ||
| − | + | == Description == | |
| + | DISC(SettlementDate, MaturityDate, Price, RedemptionValue, Basis) | ||
| − | </ | + | *<math>SettlementDate</math> and <math>MaturityDate</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>SettlementDate</math> >= <math>MaturityDate</math>, Calci displays #N/A error message. | |
| − | < | + | *If <math>Price</math> <=0 or <math>RedemptionValue</math> <=0, Calci displays #N/A error message. |
| − | + | *<math>Basis</math> value is optional. If omitted, Calci assumes it to be 0. | |
| − | < | + | Below table shows the use of <math>Basis</math> values: |
| − | + | {| class="wikitable" | |
| + | |- | ||
| + | ! Basis !! Description | ||
| + | |- | ||
| + | | 0 || US (NASD) 30/360 | ||
| + | |- | ||
| + | | 1 || Actual/actual | ||
| + | |- | ||
| + | | 2 || Actual/360 | ||
| + | |- | ||
| + | | 3 || Actual/365 | ||
| + | |- | ||
| + | | 4 || European 30/365 | ||
| + | |} | ||
| − | * < | + | *If <math>Basis</math> value is other than 0 to 4, Calci displays #N/A error message. |
| − | * | + | *Formula: |
| − | + | If 'B' is number of days in a year, and 'DIM' is number of days from 'Settlement' to ' | |
| + | Maturity', the DISC is calculated as - | ||
| − | < | + | DISC = <math>\frac{(Redemption-Price)}{Redemption} X \frac{B}{DIM}</math> |
| − | + | == Examples == | |
| − | + | Consider the following example that shows the use of DISC function: | |
| − | < | + | <div id="2SpaceContent" class="zcontent" align="left"> |
| − | + | {| id="TABLE3" class="SpreadSheet blue" | |
| + | |- class="even" | ||
| + | | class="sshl_f" | 06/09/2010 | ||
| + | | class=" " | | ||
| + | | class=" " | | ||
| − | + | |- class="odd" | |
| + | | class="sshl_f" | 11/19/2010 | ||
| + | | class=" " | | ||
| + | | class=" " | | ||
| − | + | |- class="even" | |
| − | - | + | | class="sshl_f" | 97.975 |
| − | + | | class=" " | | |
| + | | class=" " | | ||
| − | + | |- class="odd" | |
| + | | class="sshl_f" | 100 | ||
| + | | class=" " | | ||
| + | | class=" " | | ||
| − | + | |- class="even" | |
| − | + | | class="sshl_f" | 1 | |
| − | + | | class=" " | | |
| + | | class=" " | | ||
| − | + | |- class="odd" | |
| + | | class="sshl_f" | | ||
| + | | class=" " | | ||
| + | | class=" " | | ||
| + | |||
| + | |} | ||
| − | + | =DISC(A1,A2,A3,A4,A5) displays ''0.045345092024540005'' as a result. | |
| + | |||
| − | + | ==Related Videos== | |
| − | + | {{#ev:youtube|v=3dP-8EFalfU|280|center|DISC}} | |
| − | + | == See Also == | |
| − | + | *[[Manuals/calci/INTRATE | INTRATE]] | |
| − | + | == References == | |
| − | + | *[http://en.wikipedia.org/wiki/Annual_effective_discount_rate Annual Discount Rate] | |
| + | *[http://en.wikipedia.org/wiki/Day_count_convention Day Count Basis] | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | *[[Z_API_Functions | List of Main Z Functions]] | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | *[[ Z3 | Z3 home ]] | |
| − | |||
| − | |||
| − | |||
Latest revision as of 14:51, 15 November 2018
DISC (SettlementDate,MaturityDate,Price,RedemptionValue,Basis)
where,
- is the security's settlement date (a date when coupon or a bond is purchased)
- is the security's maturity date (a date when coupon or a bond expires)
- is the security's price per $100 face value
- is the amount to be received at maturity of a bond
- is the type of day count basis to use
- DISC(), returns the discount rate for a security.
Description
DISC(SettlementDate, MaturityDate, Price, RedemptionValue, Basis)
- 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.
- If <=0 or <=0, Calci displays #N/A error message.
- value is optional. If omitted, Calci assumes it to be 0.
Below table shows the use of values:
| Basis | Description |
|---|---|
| 0 | US (NASD) 30/360 |
| 1 | Actual/actual |
| 2 | Actual/360 |
| 3 | Actual/365 |
| 4 | European 30/365 |
- If value is other than 0 to 4, Calci displays #N/A error message.
- Formula:
If 'B' is number of days in a year, and 'DIM' is number of days from 'Settlement' to ' Maturity', the DISC is calculated as -
DISC =
Examples
Consider the following example that shows the use of DISC function:
| 06/09/2010 | ||
| 11/19/2010 | ||
| 97.975 | ||
| 100 | ||
| 1 | ||
=DISC(A1,A2,A3,A4,A5) displays 0.045345092024540005 as a result.
Related Videos
See Also
References