public void InitializeRun(RunAlgorithmDefinition definition) { daysRun = (int)definition.GetParameter("DaysRun").NumericValue; }
public void InitializeRun(RunAlgorithmDefinition approachDefinition) { HighThreshold = approachDefinition.GetParameter("HighThreshold").NumericValue; useClose = approachDefinition.GetParameter("UseClose").BooleanValue; }
public void InitializeRun(RunAlgorithmDefinition approachDefinition) { trailingStopPercent = approachDefinition.GetParameter("TrailingStopPercent").NumericValue; useClose = approachDefinition.GetParameter("UseClose").BooleanValue; }