VB Syntax
Double CTOptionSolver.SOLVEExtremeSpreadOption( _
Long ValueDate, _
DayCountEnum dayCounter, _
Double PremiumVal, _
String SolverKey, _
Double tolerance, _
Long ExtremeType, _
Double Underlying, _
Double Smin, _
Double Smax, _
Long Timet1, _
Long TimeT2, _
Double Rate, _
Double B, _
Double Vol, _
String SolveFor)
Excel Spreadsheet Syntax
=CT.SOLVEExtremeSpreadOption(
Excel Numeric Cell ValueDate,
Excel String Cell dayCounter,
Excel Numeric Cell PremiumVal,
Excel String Cell SolverKey,
Excel Numeric Cell tolerance,
Excel Numeric Cell ExtremeType,
Excel Numeric Cell Underlying,
Excel Numeric Cell Smin,
Excel Numeric Cell Smax,
Excel Numeric Cell Timet1,
Excel Numeric Cell TimeT2,
Excel Numeric Cell Rate,
Excel Numeric Cell B,
Excel Numeric Cell Vol,
Excel String Cell SolveFor)
C++ Syntax
static double SOLVEExtremeSpreadOption(
long ValueDate,
DayCountEnum dayCounter,
double PremiumVal,
std::string SolverKey,
double tolerance,
long ExtremeType,
double Underlying,
double Smin,
double Smax,
long Timet1,
long TimeT2,
double Rate,
double B,
double Vol,
std::string SolveFor);
DotNET Syntax
System.Double CTOptionSolverSA.SOLVEExtremeSpreadOption(
System.Int32 ValueDate,
CTIEnums.DayCountEnum dayCounter,
System.Double PremiumVal,
System.String SolverKey,
System.Double tolerance,
System.Int32 ExtremeType,
System.Double Underlying,
System.Double Smin,
System.Double Smax,
System.Int32 Timet1,
System.Int32 TimeT2,
System.Double Rate,
System.Double B,
System.Double Vol,
System.String SolveFor);