Пример #1
0
        public async void Depth()
        {
            var res = await binance.Depth("ETHBTC");

            Assert.Equal(100, res.Asks.Count);
            Assert.Equal(100, res.Bids.Count);
        }
Пример #2
0
        public async void DepthInfoOnlineWithLimit()
        {
            var r   = new Maybe <IDownloadData>();
            var b   = new Binance(r);
            var res = await b.Depth("ETHBTC", 5);

            Assert.Equal(5, res.Asks.Count);
        }
Пример #3
0
 public async void DepthInfoOnline()
 {
     var r   = new Maybe <IDownloadData>();
     var b   = new Binance(r);
     var res = await b.Depth("ETHBTC");
 }