Exemple #1
0
 private void RaiseOrdersUpdated(IUserInfo user, AccountInfo account, List <Order> orders)
 {
     if (user != null)
     {
         OrdersUpdated?.Invoke(this, new EventArgs <UserAccount, List <Order> >(new UserAccount(user, account), orders));
     }
 }
 internal void OnOrdersUpdated(OrdersUpdatedResponse message)
 {
     OrdersUpdated?.Invoke(this, new EventArgs<string, List<TradingService.Order>>(message.AccountID,
         message.Orders.ToList()));
 }
Exemple #3
0
 private void OnOrdersUpdated(Order order)
 {
     OrdersUpdated?.Invoke(this, new TradingReportEventArgs(order));
 }
Exemple #4
0
 protected void OnOrdersUpdated(List <Order> orders) =>
 OrdersUpdated?.Invoke(this, new EventArgs <List <Order> >(orders));
Exemple #5
0
 protected void OrdersUpdatedInvoke()
 {
     OrdersUpdated?.Invoke(this);
 }