Esempio n. 1
0
        public async void TickerPriceAllOnline()
        {
            var r   = new Maybe <IDownloadData>();
            var b   = new Binance(r);
            var res = await b.TickerPrice("");

            Assert.NotEmpty(res);
        }
Esempio n. 2
0
        public async void TickerPriceSingleOnline()
        {
            var r   = new Maybe <IDownloadData>();
            var b   = new Binance(r);
            var res = await b.TickerPrice("ETHBTC");

            Assert.NotEmpty(res);
            Assert.Single(res);
            Assert.Equal("ETHBTC", res[0].Symbol);
        }