Greetings,
My intent is to populate an array with option strikes for daily run. However I receive a syntax error when attempting to create an array like this:
var strikes[NumContracts];
presumably because arrays are static and cannot be redeclared. According to the manual, using malloc to allocate space dynamically is slow. So something like this:
var strikes = malloc(NumContracts*sizeof(var));
Is not recommended
Is there a standard way to dynamically create arrays during each run?