Esempio n. 1
0
        public void SendMarketDepth(string market)
        {
            var topicObj = new SubMarketDepth()
            {
                Market    = market,
                Limit     = 10,
                Precision = 5
            };

            SendSubscribeTopic(ProtobufHelper.Serializer(topicObj, 906));
        }
Esempio n. 2
0
        public void SubMarketDepth(string market)
        {
            var topicObj = new SubMarketDepth()
            {
                Market    = market,
                Limit     = 10,
                Precision = 5
            };

            topicDic.Add("Depth", ProtobufHelper.Serializer(topicObj, 906));
        }