Пример #1
0
 private void ConnectLevel2Data()
 {
     try
     {
         optLastTrdClient.Connect(host, OPT_TRADE_PORT);
         eqLastTrdClient.Connect(host, EQ_TRADE_PORT);
         optDobkClient.Connect(host, OPT_QUOTE_PORT);
         eqDobkClient.Connect(host, EQ_QUOTE_PORT);
         sprdDobkClient.Connect(host, ISE_SPREAD_QUOTE_PORT);
     }
     catch (Exception e)
     {
         Console.WriteLine("ConnectLevel2Data error: " + e.ToString());
     }
 }