Exemple #1
0
        static void Main(string[] args)
        {
            ExportClient client = new ExportClient("mt5");

            client.TickRecieved += client_TickRecieved;

            client.Open();

            Console.WriteLine("Connected to server... Press ant key to exit");
            Console.ReadKey();

            client.Close();
        }
Exemple #2
0
        void _ConnectionTimer_Tick(object sender, EventArgs e)
        {
            try
            {
                _Client.Open();
                _ConnectionTimer.Stop();

                Text = "Quotes table";
                UpdateSymbols();
            }
            catch
            {
            }
        }