VB Syntax
Double CTExoticOptions.SpreadApproximation( _
Long ValueDate, _
DayCountEnum dayCounter, _
String CallPut, _
Double F1, _
Double F2, _
Double Strike, _
Long Time, _
Double Rate, _
Double Vol1, _
Double Vol2, _
Double Rho, _
String Greek)
Excel Spreadsheet Syntax
=CT.EXO.SpreadApproximation(
Excel Numeric Cell ValueDate,
Excel String Cell dayCounter,
Excel String Cell CallPut,
Excel Numeric Cell F1,
Excel Numeric Cell F2,
Excel Numeric Cell Strike,
Excel Numeric Cell Time,
Excel Numeric Cell Rate,
Excel Numeric Cell Vol1,
Excel Numeric Cell Vol2,
Excel Numeric Cell Rho,
Excel String Cell Greek)
C++ Syntax
static double SpreadApproximation(
long ValueDate,
DayCountEnum dayCounter,
std::string CallPut,
double F1,
double F2,
double Strike,
long Time,
double Rate,
double Vol1,
double Vol2,
double Rho,
std::string Greek);
DotNET Syntax
System.Double CTExoticOptionsSA.SpreadApproximation(
System.Int32 ValueDate,
CTIEnums.DayCountEnum dayCounter,
System.String CallPut,
System.Double F1,
System.Double F2,
System.Double Strike,
System.Int32 Time,
System.Double Rate,
System.Double Vol1,
System.Double Vol2,
System.Double Rho,
System.String Greek);