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 open futures orders for a specific symbol on an exchange. /// public interface ICancelAllFuturesSymbolOrders : ISharedApiCapability { /// /// Futures cancel order 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. ///
CancelAllFuturesSymbolOrdersOptions CancelAllFuturesSymbolOrdersOptions { get; } /// /// Cancel all open futures orders for a specific symbol, see for request options and exchange specific required/optional parameters.
///
/// Request info /// Cancellation token Task CancelAllFuturesSymbolOrdersAsync(CancelAllSymbolOrdersRequest request, CancellationToken ct = default); } /// /// Operation for canceling all open futures orders for a specific symbol on an exchange via the REST API. /// public interface ICancelAllFuturesSymbolOrdersRest : ICancelAllFuturesSymbolOrders, ISharedRest { /// new Task CancelAllFuturesSymbolOrdersAsync(CancelAllSymbolOrdersRequest request, CancellationToken ct = default); } /// /// Operation for canceling all open futures orders for a specific symbol on an exchange via the WebSocket API. /// public interface ICancelAllFuturesSymbolOrdersSocket : ICancelAllFuturesSymbolOrders, ISharedSocket { /// new Task> CancelAllFuturesSymbolOrdersAsync(CancelAllSymbolOrdersRequest request, CancellationToken ct = default); } }