using CryptoExchange.Net.Objects; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace CryptoExchange.Net.SharedApis { /// /// Request definition for canceling a spot order on an exchange. /// public interface ICancelSpotOrder : ISharedApiCapability { /// /// Spot 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. ///
CancelSpotOrderOptions CancelSpotOrderOptions { get; } /// /// Cancel a spot order, see for request options and exchange specific required/optional parameters.
///
/// Request info /// Cancellation token Task> CancelSpotOrderAsync(CancelOrderRequest request, CancellationToken ct = default); } /// /// Request definition for canceling a spot order on an exchange. /// public interface ICancelSpotOrderRest : ICancelSpotOrder, ISharedRest { /// /// Cancel a spot order, see for request options and exchange specific required/optional parameters.
///
/// Request info /// Cancellation token new Task> CancelSpotOrderAsync(CancelOrderRequest request, CancellationToken ct = default); } /// /// Client for placing and managing spot orders /// public interface ICancelSpotOrderSocket : ICancelSpotOrder, ISharedSocket { /// /// Cancel a spot order, see for request options and exchange specific required/optional parameters.
///
/// Request info /// Cancellation token new Task> CancelSpotOrderAsync(CancelOrderRequest request, CancellationToken ct = default); } }