private void RealTraderOnStopOrdersCancelFailed(IEnumerable <OrderFail> fails)
 {
     StopOrdersCancelFailed.SafeInvoke(this, new OrderFailsEventArgs(fails));
 }
Beispiel #2
0
 private void StopOrdersCancelFailedHandler(IEnumerable <OrderFail> fails)
 {
     AddGuiAction(() => StopOrdersCancelFailed.SafeInvoke(fails));
 }
Beispiel #3
0
 /// <summary>
 /// To call the event <see cref="StopOrdersCancelFailed"/>.
 /// </summary>
 /// <param name="fail">Error information that should be passed to the event.</param>
 private void RaiseStopOrdersCancelFailed(OrderFail fail)
 {
     StopOrderCancelFailed?.Invoke(fail);
     StopOrdersCancelFailed?.Invoke(new[] { fail });
 }
Beispiel #4
0
 /// <summary>
 /// To call the event <see cref="Connector.StopOrdersCancelFailed"/>.
 /// </summary>
 /// <param name="fails">Error information that should be passed to the event.</param>
 private void RaiseStopOrdersCancelFailed(IEnumerable <OrderFail> fails)
 {
     StopOrdersCancelFailed.SafeInvoke(fails);
 }