VB Syntax
Double CTOptionSolver.SOLVETwoAssetCashOrNothing( _
Long ValueDate, _
DayCountEnum dayCounter, _
Double PremiumVal, _
String SolverKey, _
Double tolerance, _
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 SolveFor)
Excel Spreadsheet Syntax
=CT.SOLVETwoAssetCashOrNothing(
Excel Numeric Cell ValueDate,
Excel String Cell dayCounter,
Excel Numeric Cell PremiumVal,
Excel String Cell SolverKey,
Excel Numeric Cell tolerance,
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 SolveFor)
C++ Syntax
static double SOLVETwoAssetCashOrNothing(
long ValueDate,
DayCountEnum dayCounter,
double PremiumVal,
std::string SolverKey,
double tolerance,
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 SolveFor);
DotNET Syntax
System.Double CTOptionSolverSA.SOLVETwoAssetCashOrNothing(
System.Int32 ValueDate,
CTIEnums.DayCountEnum dayCounter,
System.Double PremiumVal,
System.String SolverKey,
System.Double tolerance,
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 SolveFor);