/// <summary> /// Argument Constructor /// </summary> /// <param name="instanceKey">Unique Key to identify instance</param> /// <param name="parameters">Contains Parameter details to be used by Strategy</param> /// <param name="strategyType">Strategy Type containing TradeHubStrategy</param> public StrategyInstance(string instanceKey, Dictionary <string, ParameterDetail> parameters, Type strategyType) { // Initialize _instanceSummary = new ObservableCollection <string>(); _executionDetails = new StrategyExecutionDetails(); // Save information _instanceKey = instanceKey; _parameters = parameters; _strategyType = strategyType; // Use Instance Key to identify its execution information _executionDetails.Key = _instanceKey; }
public StrategyInstance() { // Initialize _instanceSummary = new ObservableCollection <string>(); _executionDetails = new StrategyExecutionDetails(); }