Exemple #1
0
        public static void RunGetNewsProviders(ConnectionDetails connectionDetails)
        {
            var ibClient = new IBClient();

            ibClient.NotificationReceived        += new EventHandler <Notification>(Common.NotificationReceived);
            ibClient.NewsProvidersUpdateReceived += new EventHandler <NewsProvider[]>(NewsProvidersUpdateReceived);
            ibClient = ConnectionHelper.StartIbClient(ibClient, connectionDetails);
            ibClient.GetNewsProviders();
        }