private void RealTraderOnOrdersRegisterFailed(IEnumerable <OrderFail> fails)
 {
     OrdersRegisterFailed.SafeInvoke(this, new OrderFailsEventArgs(fails));
 }
Beispiel #2
0
 private void RaiseOrderRegisterFailed(OrderFail fail)
 {
     OrderRegisterFailed?.Invoke(fail);
     OrdersRegisterFailed?.Invoke(new[] { fail });
 }
Beispiel #3
0
 /// <summary>
 /// To call the event <see cref="Connector.OrdersRegisterFailed"/>.
 /// </summary>
 /// <param name="fails">Error information that should be passed to the event.</param>
 private void RaiseOrdersRegisterFailed(IEnumerable <OrderFail> fails)
 {
     OrdersRegisterFailed.SafeInvoke(fails);
 }
Beispiel #4
0
 private void OrdersRegisterFailedHandler(IEnumerable <OrderFail> fails)
 {
     AddGuiAction(() => OrdersRegisterFailed.SafeInvoke(fails));
 }
Beispiel #5
0
 private void RaiseOrderRegisterFailed(long transactionId, OrderFail fail)
 {
     RaiseOrderFailed(nameof(OrderRegisterFailed), transactionId, fail, (id, f) => OrderRegisterFailed?.Invoke(f));
     OrdersRegisterFailed?.Invoke(new[] { fail });
 }