internal void OnStopOrderCall(StopOrder stopOrder) { OnStopOrder?.Invoke(stopOrder); if (StopOrders == null) { StopOrders = new List <StopOrder>(); } StopOrders.Add(stopOrder); }
internal void OnStopOrderCall(StopOrder stopOrder) { if (OnStopOrder != null) { OnStopOrder(stopOrder); } if (StopOrders == null) { StopOrders = new List <StopOrder>(); } StopOrders.Add(stopOrder); }