VB Syntax
Double CTExoticOptions.TwoAssetCashOrNothing( _
Long ValueDate, _
DayCountEnum dayCounter, _
Long TypeFlag, _
Double S1, _
Double S2, _
Double X1, _
Double X2, _
Double K, _
Long T, _
Double r, _
Double b1, _
Double b2, _
Double Vol1, _
Double Vol2, _
Double Rho, _
String Greek)
Excel Spreadsheet Syntax
=CT.EXO.TwoAssetCashOrNothing(
Excel Numeric Cell ValueDate,
Excel String Cell dayCounter,
Excel Numeric Cell TypeFlag,
Excel Numeric Cell S1,
Excel Numeric Cell S2,
Excel Numeric Cell X1,
Excel Numeric Cell X2,
Excel Numeric Cell K,
Excel Numeric Cell T,
Excel Numeric Cell r,
Excel Numeric Cell b1,
Excel Numeric Cell b2,
Excel Numeric Cell Vol1,
Excel Numeric Cell Vol2,
Excel Numeric Cell Rho,
Excel String Cell Greek)
C++ Syntax
static double TwoAssetCashOrNothing(
long ValueDate,
DayCountEnum dayCounter,
long TypeFlag,
double S1,
double S2,
double X1,
double X2,
double K,
long T,
double r,
double b1,
double b2,
double Vol1,
double Vol2,
double Rho,
std::string Greek);
DotNET Syntax
System.Double CTExoticOptionsSA.TwoAssetCashOrNothing(
System.Int32 ValueDate,
CTIEnums.DayCountEnum dayCounter,
System.Int32 TypeFlag,
System.Double S1,
System.Double S2,
System.Double X1,
System.Double X2,
System.Double K,
System.Int32 T,
System.Double r,
System.Double b1,
System.Double b2,
System.Double Vol1,
System.Double Vol2,
System.Double Rho,
System.String Greek);