public new async Task <IEnumerable <Ticker> > GetTickersAsync()
        {
            var request = new BinanceRequestTicker();
            var tickers = await SendAsync <List <BinanceResponseTicker> >(request);

            return(Map <IEnumerable <Ticker> >(tickers));
        }
        public new async Task <Ticker> GetTickerAsync(string symbol, string quoteSymbol)
        {
            var request  = new BinanceRequestTicker(symbol, quoteSymbol);
            var response = await SendAsync <BinanceResponseTicker>(request);

            return(Map <Ticker>(response));
        }
Exemple #3
0
        public Task <string> GetTickersAsync()
        {
            var request = new BinanceRequestTicker();

            return(SendAsync(request));
        }
Exemple #4
0
        public Task <string> GetTickerAsync(string symbol, string quoteSymbol)
        {
            var request = new BinanceRequestTicker(symbol, quoteSymbol);

            return(SendAsync(request));
        }