Difference between revisions of "Manuals/calci/coupncd"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<div style="font-size:30px">'''COUPNCD(settle, M, F, basis)'''</div><br/>
 
<div style="font-size:30px">'''COUPNCD(settle, M, F, basis)'''</div><br/>
  
*Settle - the security's settlement date.
+
*<math>Settle<math> is the security's settlement date.
*M - the security's maturity date.
+
*<math>M</math> is the security's maturity date(Expire date).
*F - the number of coupon payments per year
+
*<math>F<math> is the number of coupon(interest) payments per year(1,2 or 4)
*Basis - Type of day count basis.
+
*<math>basis<math> is the Type of day count basis.
 +
 
 
==Description==
 
==Description==
*This function  returns  a date that represents next coupon date after the settlement date.
+
*This function returns a date that represents next coupon date after the settlement date.
*F must be 1,2 or 4
+
*<math>F<math> must be 1,2 or 4
*COUPNCD shows there value  when  Basis&lt;0 or Basis&gt;4,
+
*COUPNCD shows there value  when  <math>basis\lt 0<math> or <math>basis\gt 0<math>Basis&gt;4,
*Settlement date greater than or equal to maturity date.
+
*<math>Settlement date</math> must be greater than or equal to maturity date.
 +
*<math>basis</math> is the calender system to use.
 +
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
  
 
==Examples==
 
==Examples==

Revision as of 06:14, 12 February 2014

COUPNCD(settle, M, F, basis)


  • is the security's maturity date(Expire date).
  • Failed to parse (syntax error): {\displaystyle F<math> is the number of coupon(interest) payments per year(1,2 or 4) *<math>basis<math> is the Type of day count basis. ==Description== *This function returns a date that represents next coupon date after the settlement date. *<math>F<math> must be 1,2 or 4 *COUPNCD shows there value  when  <math>basis\lt 0<math> or <math>basis\gt 0<math>Basis&gt;4, *<math>Settlement date} must be greater than or equal to maturity date.
  • is the calender system to use.
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

Examples

?UNIQ17b134979b170de4-nowiki-00000003-QINU?

where

B2=2/25/2007

B3=10/15/2008

B4=2

B5=1

COUPNCD returns (Sun APRIL 15, 2007).

References