static void Main(string[] args) { string data = "{\"ticks\":\"R_100\"}"; var bws = new BinaryWs(); bws.Connect().Wait(); bws.SendRequest(data).Wait(); bws.StartListen(); Console.ReadLine(); }