Пример #1
0
        public void MatchOrdersTest(string symbol)
        {
            WSNotifyClient client = new WSNotifyClient(config["AccessKey"], config["SecretKey"]);

            client.SubMatchOrders(symbol, delegate(SubOrdersResponse data)
            {
                Console.WriteLine(JsonConvert.SerializeObject(data));
            });
            System.Threading.Thread.Sleep(1000 * 60 * 2);
            client.UnsubMathOrders(symbol);
            System.Threading.Thread.Sleep(1000 * 60);
        }