using CryptoExchange.Net.Objects; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace CryptoExchange.Net.SharedApis { /// /// Operation for canceling all spot orders on an exchange. /// public interface ICancelAllSpotOrders : ISharedApiCapability { /// /// Spot cancel all orders 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. ///
CancelAllSpotOrdersOptions CancelAllSpotOrdersOptions { get; } /// /// Cancel all spot orders, see for request options and exchange specific required/optional parameters.
///
/// Request info /// Cancellation token Task CancelAllSpotOrdersAsync(CancelAllOrdersRequest request, CancellationToken ct = default); } /// /// Operation for canceling all spot orders on an exchange via the REST API. /// public interface ICancelAllSpotOrdersRest : ICancelAllSpotOrders, ISharedRest { /// new Task CancelAllSpotOrdersAsync(CancelAllOrdersRequest request, CancellationToken ct = default); } /// /// Operation for canceling all spot orders on an exchange via the WebSocket API. /// public interface ICancelAllSpotOrdersSocket : ICancelAllSpotOrders, ISharedSocket { /// new Task CancelAllSpotOrdersAsync(CancelAllOrdersRequest request, CancellationToken ct = default); } }