Exemplo n.º 1
0
        public void PositionsTest(string symbol)
        {
            WSNotifyClient client = new WSNotifyClient(config["AccessKey"], config["SecretKey"]);

            client.SubPositions(symbol, delegate(SubPositionsResponse data)
            {
                Console.WriteLine(JsonConvert.SerializeObject(data));
            });
            System.Threading.Thread.Sleep(1000 * 60);
            client.UnsubPositions(symbol);
            System.Threading.Thread.Sleep(1000 * 60);
        }