public void SubscribeToUpdates(long accountId) { try { this.lastSubscribedAccountId = accountId; ApiAccessor.SubscribeToUpdates(new AccountMessageData(accountId), this.OnMessageDataUpdated); } catch (Exception e) { Logger.DisplayError("Account " + accountId + " failed to subscribe to updates", e); } }