VB Syntax
Double CTOptionSolver.SOLVETimeSwitchOption( _
Long ValueDate, _
DayCountEnum dayCounter, _
Double PremiumVal, _
String SolverKey, _
Double tolerance, _
String CallPut, _
Double Underlying, _
Double Strike, _
Double A, _
Long TimeT, _
Double m, _
Long Timedt, _
Double Rate, _
Double B, _
Double Vol, _
String SolveFor)
Excel Spreadsheet Syntax
=CT.SOLVETimeSwitchOption(
Excel Numeric Cell ValueDate,
Excel String Cell dayCounter,
Excel Numeric Cell PremiumVal,
Excel String Cell SolverKey,
Excel Numeric Cell tolerance,
Excel String Cell CallPut,
Excel Numeric Cell Underlying,
Excel Numeric Cell Strike,
Excel Numeric Cell A,
Excel Numeric Cell TimeT,
Excel Numeric Cell m,
Excel Numeric Cell Timedt,
Excel Numeric Cell Rate,
Excel Numeric Cell B,
Excel Numeric Cell Vol,
Excel String Cell SolveFor)
C++ Syntax
static double SOLVETimeSwitchOption(
long ValueDate,
DayCountEnum dayCounter,
double PremiumVal,
std::string SolverKey,
double tolerance,
std::string CallPut,
double Underlying,
double Strike,
double A,
long TimeT,
double m,
long Timedt,
double Rate,
double B,
double Vol,
std::string SolveFor);
DotNET Syntax
System.Double CTOptionSolverSA.SOLVETimeSwitchOption(
System.Int32 ValueDate,
CTIEnums.DayCountEnum dayCounter,
System.Double PremiumVal,
System.String SolverKey,
System.Double tolerance,
System.String CallPut,
System.Double Underlying,
System.Double Strike,
System.Double A,
System.Int32 TimeT,
System.Double m,
System.Int32 Timedt,
System.Double Rate,
System.Double B,
System.Double Vol,
System.String SolveFor);