using CryptoExchange.Net.Objects;
using System.Threading;
using System.Threading.Tasks;
namespace CryptoExchange.Net.SharedApis
{
///
/// Client for requesting ticker info for futures symbols
///
public interface IFuturesTickerRestClient : ISharedClient
{
///
/// Futures get ticker request options.
/// Use and to check for required and optional parameters for the request.
/// Exchange specific parameters can be added to the request via the `ExchangeParameters` property of the request object.
///
GetFuturesTickerOptions GetFuturesTickerOptions { get; }
///
/// Get ticker info for a specific futures symbol, see for request options and exchange specific required/optional parameters.
///
/// Request info
/// Cancellation token
Task> GetFuturesTickerAsync(GetTickerRequest request, CancellationToken ct = default);
///
/// Futures get tickers request options.
/// Use and to check for required and optional parameters for the request.
/// Exchange specific parameters can be added to the request via the `ExchangeParameters` property of the request object.
///
GetFuturesTickersOptions GetFuturesTickersOptions { get; }
///
/// Get ticker info for all futures symbols, see for request options and exchange specific required/optional parameters.
///
/// Request info
/// Cancellation token
Task> GetFuturesTickersAsync(GetTickersRequest request, CancellationToken ct = default);
}
}