public async Task <ResponseMain <QuotesHistoricalData> > GetQuotesHistorical(string id, string symbol,
                                                                              string timeStart, string timeEnd, int?count, string interval,
                                                                              string[] convert)
 {
     return(await GetAsync <ResponseMain <QuotesHistoricalData> >(
                CryptoCurrencyApiUrls.HistoricalQuotesUri(id, symbol, timeStart, timeEnd, count, interval, convert))
            .ConfigureAwait(false));
 }
 public async Task <ResponseMain <QuotesHistoricalData> > GetQuotesHistorical(string idOrSymbol, string timeStart, string timeEnd)
 {
     return(int.TryParse(idOrSymbol, out var id)
         ? await GetAsync <ResponseMain <QuotesHistoricalData> >(
                CryptoCurrencyApiUrls.HistoricalQuotesUri(id.ToString(), string.Empty, timeStart, timeEnd, null,
                                                          Interval.M5, new[] { string.Empty })).ConfigureAwait(false)
         : await GetAsync <ResponseMain <QuotesHistoricalData> >(
                CryptoCurrencyApiUrls.HistoricalQuotesUri("", idOrSymbol, timeStart, timeEnd, null, Interval.M5,
                                                          new[] { string.Empty })).ConfigureAwait(false));
 }