Exemplo n.º 1
0
 private void RealTraderOnNewStopOrders(IEnumerable <Order> orders)
 {
     NewStopOrders.SafeInvoke(this, new OrdersEventArgs(orders));
 }
Exemplo n.º 2
0
 private void NewStopOrdersHandler(IEnumerable <Order> orders)
 {
     AddGuiAction(() => NewStopOrders.SafeInvoke(orders));
 }
Exemplo n.º 3
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 });
 }
Exemplo n.º 4
0
 /// <summary>
 /// To call the event <see cref="Connector.NewStopOrders"/>.
 /// </summary>
 /// <param name="stopOrders">Stop orders that should be passed to the event.</param>
 private void RaiseNewStopOrders(IEnumerable <Order> stopOrders)
 {
     NewStopOrders.SafeInvoke(stopOrders);
 }