Difference between revisions of "Manuals/calci/YIELD"

From ZCubes Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=YIELD(settlement, maturity, rate, price, redemption, frequency, basis)=
+
<div style="font-size:30px">'''YIELD (Settlement,MaturityDate,Rate,Price,RedemptionValue,Frequency,Basis)'''</div><br/>
  
*where <math>settlement</math> is security's settlement date (a date when coupon or a bond is purchased),  
+
*where <math>Settlement</math> is security's settlement date (a date when coupon or a bond is purchased),  
*<math>maturity</math> is security's maturity date (a date when coupon or a bond expires),  
+
*<math>MaturityDate</math> is security's maturity date (a date when coupon or a bond expires),  
*<math>rate</math> is security's annual coupon rate,  
+
*<math>Rate</math> is security's annual coupon rate,  
*<math>price</math> is the price per $100 face value,
+
*<math>Price</math> is the price per $100 face value,
*<math>redemption</math> is security's redemption value per &#36;100 face value,
+
*<math>RedemptionValue</math> is security's redemption value per &#36;100 face value,
*<math>frequency</math> is the number of coupon payments per year, and  
+
*<math>Frequency</math> is the number of coupon payments per year, and  
*<math>basis</math> is the type of day count basis to use.
+
*<math>Basis</math> is the type of day count basis to use.
 
+
**YIELD(), returns the yield on a security that pays periodic interest.
YIELD() calculates the yield on a security or a bond that pays periodic interest.
 
  
 
== Description ==
 
== Description ==
  
YIELD(settlement, maturity, rate, price, redemption, frequency, basis)
+
YIELD (Settlement,MaturityDate,Rate,Price,RedemptionValue,Frequency,Basis)
  
 
*Yield is the annual percentage return on an investment or security. Yield is the value obtained by dividing Annual Interest by Bond Price.  
 
*Yield is the annual percentage return on an investment or security. Yield is the value obtained by dividing Annual Interest by Bond Price.  
Line 24: Line 23:
 
  :<math>YIELD = \dfrac{(\dfrac{redemption}{100}+\dfrac{rate}{frequency})-(\dfrac{par}{100}+(\dfrac{B}{C}*\dfrac{rate}{frequency}))}{\dfrac{par}{100}+(\dfrac{B}{C}*\dfrac{rate}{frequency})}*\dfrac{frequency*C}{N}</math>
 
  :<math>YIELD = \dfrac{(\dfrac{redemption}{100}+\dfrac{rate}{frequency})-(\dfrac{par}{100}+(\dfrac{B}{C}*\dfrac{rate}{frequency}))}{\dfrac{par}{100}+(\dfrac{B}{C}*\dfrac{rate}{frequency})}*\dfrac{frequency*C}{N}</math>
  
*<math>settlement</math> and <math>maturity</math> dates should be entered either in 'date format' or 'dates returned using formulas'. If dates are not valid, Calci displays #N/A error message.
+
*<math>Settlement</math> and <math>MaturityDate</math> dates 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>settlement</math> date = <math>maturity</math> date, Calci displays #N/A error message.
+
*If <math>Settlement</math> date = <math>MaturityDate</math> date, Calci displays #N/A error message.
*<math>rate</math> value must be greater than or equal to zero, else Calci displays #N/A error message.
+
*<math>Rate</math> value must be greater than or equal to zero, else Calci displays #N/A error message.
*<math>price</math> and <math>redemption</math> values must be greater than zero, else Calci displays #N/A error message.
+
*<math>Price</math> and <math>Redemption</math> values must be greater than zero, else Calci displays #N/A error message.
*The values for <math>frequency</math> should be 1,2 or 4.  
+
*The values for <math>Frequency</math> should be 1,2 or 4.  
For Annual payment, <math>frequency</math> = 1,
+
For Annual payment, <math>Frequency</math> = 1,
  
For Semi-annual payment, <math>frequency</math> = 2,
+
For Semi-annual payment, <math>Frequency</math> = 2,
  
For Quarterly payment, <math>frequency</math> = 4.
+
For Quarterly payment, <math>Frequency</math> = 4.
  
*<math>basis</math> value is optional. If omitted, Calci assumes it to be 0.  
+
*<math>Basis</math> value is optional. If omitted, Calci assumes it to be 0.  
 
Below table shows the use of <math>basis</math> values:
 
Below table shows the use of <math>basis</math> values:
  
Line 53: Line 52:
 
|}
 
|}
  
*If <math>basis</math> value is other than 0 to 4, Calci displays #N/A error message.
+
*If <math>Basis</math> value is other than 0 to 4, Calci displays #N/A error message.
  
 
== Examples ==
 
== Examples ==
  
YIELD(settlement, maturity, rate, price, redemption, frequency, basis) function with inputs in order is calculated as follows:
+
YIELD (Settlement,MaturityDate,Rate,Price,RedemptionValue,Frequency,Basis) function with inputs in order is calculated as follows:
  
 
<div id="2SpaceContent" class="zcontent" align="left">
 
<div id="2SpaceContent" class="zcontent" align="left">
Line 94: Line 93:
  
 
  =YIELD(DATE(2012,6,10), DATE(2013,6,10), "6%", 98.85, 100, 2) : Calculates the Yield Value with the inputs. <br /> Returns '''7.21%''' as a result.
 
  =YIELD(DATE(2012,6,10), DATE(2013,6,10), "6%", 98.85, 100, 2) : Calculates the Yield Value with the inputs. <br /> Returns '''7.21%''' as a result.
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|vi27yLPgwZc|280|center|YIELD}}
  
 
== See Also ==
 
== See Also ==
Line 105: Line 108:
 
*[http://en.wikipedia.org/wiki/Current_yield Current Yield]
 
*[http://en.wikipedia.org/wiki/Current_yield Current Yield]
 
*[http://en.wikipedia.org/wiki/Day_count_convention Basis Convention]
 
*[http://en.wikipedia.org/wiki/Day_count_convention Basis Convention]
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 16:32, 22 August 2018

YIELD (Settlement,MaturityDate,Rate,Price,RedemptionValue,Frequency,Basis)


  • where is security's settlement date (a date when coupon or a bond is purchased),
  • is security's maturity date (a date when coupon or a bond expires),
  • is security's annual coupon rate,
  • is the price per $100 face value,
  • is security's redemption value per $100 face value,
  • is the number of coupon payments per year, and
  • is the type of day count basis to use.
    • YIELD(), returns the yield on a security that pays periodic interest.

Description

YIELD (Settlement,MaturityDate,Rate,Price,RedemptionValue,Frequency,Basis)

  • Yield is the annual percentage return on an investment or security. Yield is the value obtained by dividing Annual Interest by Bond Price.

Formula:-

If B= Number of days from beginning of coupon period to settlement date,
   C= Number of days in coupon period,
   N= Number of days from settlement date to redemption date
:
  • and dates should be entered either in 'date format' or 'dates returned using formulas'. If dates are not valid, Calci displays #N/A error message.
  • If date = date, Calci displays #N/A error message.
  • value must be greater than or equal to zero, else Calci displays #N/A error message.
  • and values must be greater than zero, else Calci displays #N/A error message.
  • The values for should be 1,2 or 4.

For Annual payment, = 1,

For Semi-annual payment, = 2,

For Quarterly payment, = 4.

  • 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/360
  • If value is other than 0 to 4, Calci displays #N/A error message.

Examples

YIELD (Settlement,MaturityDate,Rate,Price,RedemptionValue,Frequency,Basis) function with inputs in order is calculated as follows:

2/2/2008
11/2/2010
5%
97
$100
2
0
=YIELD(A1,A2,A3,A4,A5,A6,A7) : Calculates the Yield Value with the inputs in the range A1 to A7. Returns 6.2% as a result.
=YIELD(DATE(2012,6,10), DATE(2013,6,10), "6%", 98.85, 100, 2) : Calculates the Yield Value with the inputs. 
Returns 7.21% as a result.

Related Videos

YIELD

See Also

References