예제 #1
0
 /// <summary>
 /// Returns an interval of historic market quotes for any cryptocurrency based on time and interval parameters.
 /// </summary>
 public Response <CryptocurrencyWithHistoricalQuote> GetHistoricalQuote(HistoricalQuoteParameters request)
 {
     return(GetHistoricalQuoteAsync(request, CancellationToken.None).Result);
 }
예제 #2
0
 /// <summary>
 /// Returns an interval of historic market quotes for any cryptocurrency based on time and interval parameters.
 /// </summary>
 public async Task <Response <CryptocurrencyWithHistoricalQuote> > GetHistoricalQuoteAsync(HistoricalQuoteParameters request, CancellationToken cancellationToken)
 {
     return(await SendApiRequest <CryptocurrencyWithHistoricalQuote>(request, "cryptocurrency/quotes/historical", cancellationToken));
 }