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