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())); }
private void OnOrdersUpdated(Order order) { OrdersUpdated?.Invoke(this, new TradingReportEventArgs(order)); }
protected void OnOrdersUpdated(List <Order> orders) => OrdersUpdated?.Invoke(this, new EventArgs <List <Order> >(orders));
protected void OrdersUpdatedInvoke() { OrdersUpdated?.Invoke(this); }