VB Syntax
Double CTExoticOptions.TwoAssetCorrelation( _
Long ValueDate, _
DayCountEnum dayCounter, _
String CallPut, _
Double Underlying1, _
Double Underlying2, _
Double Strike1, _
Double Strike2, _
Long Time, _
Double b1, _
Double b2, _
Double Rate, _
Double Vol1, _
Double Vol2, _
Double Rho, _
String Greek)
Excel Spreadsheet Syntax
=CT.EXO.TwoAssetCorrelation(
Excel Numeric Cell ValueDate,
Excel String Cell dayCounter,
Excel String Cell CallPut,
Excel Numeric Cell Underlying1,
Excel Numeric Cell Underlying2,
Excel Numeric Cell Strike1,
Excel Numeric Cell Strike2,
Excel Numeric Cell Time,
Excel Numeric Cell b1,
Excel Numeric Cell b2,
Excel Numeric Cell Rate,
Excel Numeric Cell Vol1,
Excel Numeric Cell Vol2,
Excel Numeric Cell Rho,
Excel String Cell Greek)
C++ Syntax
static double TwoAssetCorrelation(
long ValueDate,
DayCountEnum dayCounter,
std::string CallPut,
double Underlying1,
double Underlying2,
double Strike1,
double Strike2,
long Time,
double b1,
double b2,
double Rate,
double Vol1,
double Vol2,
double Rho,
std::string Greek);
DotNET Syntax
System.Double CTExoticOptionsSA.TwoAssetCorrelation(
System.Int32 ValueDate,
CTIEnums.DayCountEnum dayCounter,
System.String CallPut,
System.Double Underlying1,
System.Double Underlying2,
System.Double Strike1,
System.Double Strike2,
System.Int32 Time,
System.Double b1,
System.Double b2,
System.Double Rate,
System.Double Vol1,
System.Double Vol2,
System.Double Rho,
System.String Greek);