Exemplo 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);
        }
Exemplo 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);
        }