示例#1
0
 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;
 }
示例#3
0
 public void InitializeRun(RunAlgorithmDefinition approachDefinition)
 {
     trailingStopPercent = approachDefinition.GetParameter("TrailingStopPercent").NumericValue;
     useClose            = approachDefinition.GetParameter("UseClose").BooleanValue;
 }