mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-09 17:06:19 +00:00
25 lines
977 B
C#
25 lines
977 B
C#
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
/// <summary>
|
|
/// Client for getting the index price klines for a symbol
|
|
/// </summary>
|
|
public interface IIndexPriceKlineRestClient : ISharedClient
|
|
{
|
|
/// <summary>
|
|
/// Index price klines request options
|
|
/// </summary>
|
|
GetKlinesOptions GetIndexPriceKlinesOptions { get; }
|
|
/// <summary>
|
|
/// Get index price kline/candlestick data
|
|
/// </summary>
|
|
/// <param name="request">Request info</param>
|
|
/// <param name="nextPageToken">The pagination token from the previous request to continue pagination</param>
|
|
/// <param name="ct">Cancellation token</param>
|
|
Task<ExchangeWebResult<IEnumerable<SharedFuturesKline>>> GetIndexPriceKlinesAsync(GetKlinesRequest request, INextPageToken? nextPageToken = null, CancellationToken ct = default);
|
|
}
|
|
}
|