VB Syntax
Double CTOptionSolver.SOLVECashOrNothingOption( _
Long ValueDate, _
DayCountEnum dayCounter, _
Double PremiumVal, _
String SolverKey, _
Double tolerance, _
String CallPut, _
Double S, _
Double X, _
Double K, _
Long T, _
Double r, _
Double b, _
Double v, _
String SolveFor)
Excel Spreadsheet Syntax
=CT.SOLVECashOrNothingOption(
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 S,
Excel Numeric Cell X,
Excel Numeric Cell K,
Excel Numeric Cell T,
Excel Numeric Cell r,
Excel Numeric Cell b,
Excel Numeric Cell v,
Excel String Cell SolveFor)
C++ Syntax
static double SOLVECashOrNothingOption(
long ValueDate,
DayCountEnum dayCounter,
double PremiumVal,
std::string SolverKey,
double tolerance,
std::string CallPut,
double S,
double X,
double K,
long T,
double r,
double b,
double v,
std::string SolveFor);
DotNET Syntax
System.Double CTOptionSolverSA.SOLVECashOrNothingOption(
System.Int32 ValueDate,
CTIEnums.DayCountEnum dayCounter,
System.Double PremiumVal,
System.String SolverKey,
System.Double tolerance,
System.String CallPut,
System.Double S,
System.Double X,
System.Double K,
System.Int32 T,
System.Double r,
System.Double b,
System.Double v,
System.String SolveFor);