using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace CryptoExchange.Net.SharedApis
{
///
/// Client for getting the index price klines for a symbol
///
public interface IIndexPriceKlineRestClient : ISharedClient
{
///
/// Index price klines request options
///
GetKlinesOptions GetIndexPriceKlinesOptions { get; }
///
/// Get index price kline/candlestick data
///
/// Request info
/// The pagination token from the previous request to continue pagination
/// Cancellation token
Task>> GetIndexPriceKlinesAsync(GetKlinesRequest request, INextPageToken? nextPageToken = null, CancellationToken ct = default);
}
}