VB Syntax
Double CTOptionSolver.SOLVEExchangeExchangeOption( _
Long ValueDate, _
DayCountEnum dayCounter, _
Double PremiumVal, _
String SolverKey, _
Double tolerance, _
Long OptionType, _
Double Underlying1, _
Double Underlying2, _
Double Q, _
Long Timet1, _
Long TimeT, _
Double Rate, _
Double b1, _
Double b2, _
Double Vol1, _
Double Vol2, _
Double Rho, _
String SolveFor)
Excel Spreadsheet Syntax
=CT.SOLVEExchangeExchangeOption(
Excel Numeric Cell ValueDate,
Excel String Cell dayCounter,
Excel Numeric Cell PremiumVal,
Excel String Cell SolverKey,
Excel Numeric Cell tolerance,
Excel Numeric Cell OptionType,
Excel Numeric Cell Underlying1,
Excel Numeric Cell Underlying2,
Excel Numeric Cell Q,
Excel Numeric Cell Timet1,
Excel Numeric Cell TimeT,
Excel Numeric Cell Rate,
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 SOLVEExchangeExchangeOption(
long ValueDate,
DayCountEnum dayCounter,
double PremiumVal,
std::string SolverKey,
double tolerance,
long OptionType,
double Underlying1,
double Underlying2,
double Q,
long Timet1,
long TimeT,
double Rate,
double b1,
double b2,
double Vol1,
double Vol2,
double Rho,
std::string SolveFor);
DotNET Syntax
System.Double CTOptionSolverSA.SOLVEExchangeExchangeOption(
System.Int32 ValueDate,
CTIEnums.DayCountEnum dayCounter,
System.Double PremiumVal,
System.String SolverKey,
System.Double tolerance,
System.Int32 OptionType,
System.Double Underlying1,
System.Double Underlying2,
System.Double Q,
System.Int32 Timet1,
System.Int32 TimeT,
System.Double Rate,
System.Double b1,
System.Double b2,
System.Double Vol1,
System.Double Vol2,
System.Double Rho,
System.String SolveFor);