public async Task <List <Trade> > GetTradesAsync(string exchange, string pair, long since = 0, int limit = 0) { var formatedRoute = string.Format(CryptowatchEndpoints.Trades, exchange, pair); UriBuilder tradeUri = _router.GetUriBuilder(); tradeUri.Path = formatedRoute; if (since > 0 && limit > 0) { tradeUri.Query = $"since={since}&limit={limit}"; } else if (since > 0) { tradeUri.Query = $"since={since}"; } else if (limit > 0) { tradeUri.Query = $"limit={limit}"; } return(await _router.MakeRequest <List <Trade> >(tradeUri.Path + tradeUri.Query)); }