/// <summary> /// /// </summary> public PassiveOrder(ISourceManager manager, ComponentId dataSourceId, ComponentId orderExecutionSourceId) { SystemMonitor.CheckError(dataSourceId.IsEmpty == false && orderExecutionSourceId.IsEmpty == false, "Source Id not available to order."); _manager = manager; _dataSourceId = dataSourceId; _orderExectionSourceId = orderExecutionSourceId; _executionProvider = manager.ObtainOrderExecutionProvider(orderExecutionSourceId, dataSourceId); }