Esempio n. 1
0
 /// <summary>
 /// To call the event <see cref="NewStopOrders"/>.
 /// </summary>
 /// <param name="stopOrders">Stop orders that should be passed to the event.</param>
 private void RaiseNewStopOrders(IEnumerable <Order> stopOrders)
 {
     NewStopOrders?.Invoke(stopOrders);
 }
Esempio n. 2
0
 /// <summary>
 /// To call the event <see cref="NewStopOrders"/>.
 /// </summary>
 /// <param name="stopOrder">Stop order that should be passed to the event.</param>
 private void RaiseNewStopOrder(Order stopOrder)
 {
     NewStopOrder?.Invoke(stopOrder);
     NewStopOrders?.Invoke(new[] { stopOrder });
 }
Esempio n. 3
0
 private void RealTraderOnNewStopOrders(IEnumerable <Order> orders)
 {
     NewStopOrders?.Invoke(this, new OrdersEventArgs(orders));
 }