using CryptoExchange.Net.Objects;
using System.Threading;
using System.Threading.Tasks;
namespace CryptoExchange.Net.SharedApis
{
///
/// Client for retrieving the current best bid/ask price
///
public interface IBookTickerRestClient : ISharedClient
{
///
/// Book 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.
///
GetBookTickerOptions GetBookTickerOptions { get; }
///
/// Get the best ask/bid info for a symbol, see for request options and exchange specific required/optional parameters.
///
/// Request info
/// Cancellation token
///
Task> GetBookTickerAsync(GetBookTickerRequest request, CancellationToken ct = default);
}
}