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

            client.SubTriggerOrder(symbol, delegate(SubTriggerOrderResponse data)
            {
                Console.WriteLine(JsonConvert.SerializeObject(data));
            });
            System.Threading.Thread.Sleep(1000 * 60 * 6);
            client.UnsubTriggerOrder(symbol);
            System.Threading.Thread.Sleep(1000 * 60);
        }