run overload (2) - 2023.1 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.1 English
int run (
    OptionType* optionType,
    double* stockPrice,
    double* strikePrice,
    double* riskFreeRate,
    double* dividendYield,
    double* volatility,
    double* timeToMaturity,
    unsigned int* requiredSamples,
    unsigned int numAssets,
    double dowDivisor,
    double* DJIAOutput
    )

Process arrays of asset data, for REQUIRED NUMBER OF SAMPLES…

Parameters:

optionType either American/European Call or Put
stockPrice the stock price
strikePrice the strike price
riskFreeRate the risk free interest rate
dividendYield the dividend yield
volatility the volatility
timeToMaturity the time to maturity
requiredSamples the required samples
numAssets the number of assets
dowDivisor the Dow Divisor
DJIAOutput the returned Dow Jones Industrial Average