/// <summary> /// /// </summary> public PositionExecutionInfo(string executionId, ComponentId dataSourceId, ComponentId executionSourceId, Symbol symbol, OrderTypeEnum orderType, decimal?price, int volumeRequest, int volumeExecuted, DateTime?time, ExecutionResultEnum result) { _executionId = executionId; _orderType = orderType; _dataSourceId = dataSourceId; _executionSourceId = executionSourceId; _symbol = symbol; _result = result; _executedPrice = price; _volumeRequested = volumeRequest; _volumeExecuted = volumeExecuted; _executionTime = time; }
/// <summary> /// /// </summary> public PositionExecutionInfo(string executionId, ComponentId dataSourceId, ComponentId executionSourceId, Symbol symbol, OrderTypeEnum orderType, decimal? price, int volumeRequest, int volumeExecuted, DateTime? time, ExecutionResultEnum result) { _executionId = executionId; _orderType = orderType; _dataSourceId = dataSourceId; _executionSourceId = executionSourceId; _symbol = symbol; _result = result; _executedPrice = price; _volumeRequested = volumeRequest; _volumeExecuted = volumeExecuted; _executionTime = time; }