Beispiel #1
0
        public async Task <IEnumerable <Interface.Model.Trade> > GetTradesAsync(string symbol, int limit, CancellationToken cancellationToken)
        {
            var result = await binanceApi.GetTradesAsync(symbol, limit, cancellationToken).ConfigureAwait(false);

            var trades = result.Select(t => NewTrade(t)).ToList();

            return(trades);
        }